From 3a947333a5191e1c6fa26c5a38694f7ef9b5abf9 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 25 Nov 2013 14:37:49 +0530 Subject: [PATCH] Update request_uri for new patterns --- usr/share/easyengine/nginx/wp/w3tc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/easyengine/nginx/wp/w3tc.conf b/usr/share/easyengine/nginx/wp/w3tc.conf index dbab659b..272619d3 100644 --- a/usr/share/easyengine/nginx/wp/w3tc.conf +++ b/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'; }