So I'm having trouble getting this to work: where we need two different cache sets, based on two different cookie values.
What am I doing wrong please?
RewriteCond %{HTTP_COOKIE} _ls_cache_vary_mywebsite_com [NC]
RewriteRule .* - [E=Cache-Control:vary=test_value1]
RewriteRule .* - [E=Cache-Control:vary=test_value2]
I'm expecting one set of cache files with those that have the _ls_cache_vary_mywebsite_com with value of test_value1 and another set for those that have _ls_cache_vary_mywebsite_com cookie with value=test_value2
What am I doing wrong please?
RewriteCond %{HTTP_COOKIE} _ls_cache_vary_mywebsite_com [NC]
RewriteRule .* - [E=Cache-Control:vary=test_value1]
RewriteRule .* - [E=Cache-Control:vary=test_value2]
I'm expecting one set of cache files with those that have the _ls_cache_vary_mywebsite_com with value of test_value1 and another set for those that have _ls_cache_vary_mywebsite_com cookie with value=test_value2