From 279112c38aee3875931e82eaa6f279e4a6481943 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 14 Aug 2019 18:42:19 +0200 Subject: [PATCH] Additional cache exception for Woocommerce --- wo/cli/templates/map-wp.mustache | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wo/cli/templates/map-wp.mustache b/wo/cli/templates/map-wp.mustache index 00d21da..0364037 100644 --- a/wo/cli/templates/map-wp.mustache +++ b/wo/cli/templates/map-wp.mustache @@ -19,6 +19,7 @@ map $http_cookie $cookie_no_cache { "~*woocommerce_cart_hash" 1; "~*wptouch_switch_toogle" 1; "~*comment_author_email_" 1; + "~*wptouch_switch_toggle" 1; "~*edd" 1; } @@ -44,6 +45,13 @@ map $request_uri $uri_no_cache { "~*/wc-api/*" 1; "~*/logout/" 1; "~*/lost-password/" 1; + "~*/panier/" 1; + "~*/mon-compte/" 1; + "~*/embed" 1; + "~*/commande/" 1; + "~*/resetpass/" 1; + + } # do not cache requests with query strings