From 6358846bc3f78f0bfa0ca41119f7a0c974446716 Mon Sep 17 00:00:00 2001 From: Morgan <10958823+morganhvidt@users.noreply.github.com> Date: Mon, 19 Aug 2019 10:33:02 +0800 Subject: [PATCH] Don't cache edd_items_in_cart and edd-sl requests --- wo/cli/templates/map-wp.mustache | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wo/cli/templates/map-wp.mustache b/wo/cli/templates/map-wp.mustache index efb3060..4a663b8 100644 --- a/wo/cli/templates/map-wp.mustache +++ b/wo/cli/templates/map-wp.mustache @@ -16,10 +16,11 @@ map $http_cookie $cookie_no_cache { "~*wordpress_no_cache" 1; "~*comment_author" 1; "~*woocommerce_items_in_cart" 1; + "~*edd_items_in_cart" 1; "~*woocommerce_cart_hash" 1; "~*wptouch_switch_toogle" 1; "~*comment_author_email_" 1; - "~*wptouch_switch_toggle" 1; + "~*wptouch_switch_toggle" 1; "~*edd" 1; } @@ -37,6 +38,7 @@ map $request_uri $uri_no_cache { "~*/xmlrpc.php" 1; "~*/checkout" 1; "~*/edd_action" 1; + "~*/edd-sl/*" 1; "~*/add_to_cart/" 1; "~*/cart/" 1; "~*/my-account/" 1;