Cache Vary, custom rules in .htaccess and unsing Crawler with cache vary
-
Hi! I have a question about Cache-Vary utilization.
Basically, on current project there is a need to use Cache-Vary. As a result I added custom rule to .htaccess file:
RewriteRule .? - [E=Cache-Vary:city]
As you can see cookie “city” is used. Everything works great, but when I am enabling/disabling debug mode, .htaccess file is regenerated. As a result it leads to loosing this crucial configuration string.
Question: is there a way to add this string back on enabling/disabling debug mode, or maybe even every time .htaccess gets regenerated?
And second question: if Crawler is used to warmup caches, how I can setup page crawl with using certain “city” cookie value?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Cache Vary, custom rules in .htaccess and unsing Crawler with cache vary’ is closed to new replies.