Browse Source

Update request_uri for new patterns

old-stable
Mitesh Shah 11 years ago
parent
commit
3a947333a5
  1. 2
      usr/share/easyengine/nginx/wp/w3tc.conf

2
usr/share/easyengine/nginx/wp/w3tc.conf

@ -21,7 +21,7 @@ server {
}
# Don't Cache Uris Containing The Following Segments
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml|/translate.*|/store.*|/cart.*|/my-account.*|/checkout.*|/addons.*)") {
if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|wp-.*.php|index.php|/feed/|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)") {
set $cache_uri 'null cache';
}

Loading…
Cancel
Save