Some questions to Vary Cache by Country
-
Hi,
first of all, i tested litespeed yesterday and it was awesome! Really a great tool!My site has different widgets for users of specific countrys.
Yesterday i tried it with this rule:Now i have read that there is a solution with RewriteRule .* – [E=”cache-vary:aff”] where aff is the cookie name of the country (so i understood, i hope i am right).
I am not using woocommerce or something. Do you know any plugins or how i could set a cookie for the country? The widget plugin i am using has rules like “if user is not from italy” and without caching its working.
Another question would be: Would it be possible that no caching for every own country is made? Sor example: One Caching for “italy,germany” and one caching for the rest?
And last question: When there is no cookie set or country unklnown, is there a possiblity to not cache these users or show the cache of a specific country?
Thanks a lot! I am hoping so much that I can use this tool ??
- The topic ‘Some questions to Vary Cache by Country’ is closed to new replies.