Generate Cache based on Cookie
-
Hi, the content on our page is different based on the content of a cookie.
The cookie is basically just a country code and each country the content of the page is different but the url must not change.
We have rewritten your plugin so it adds these lines to the htaccess
RewriteCond %{HTTP:Cookie} ^.vat_cc=([A-Z]{2,2}|0|). RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/%1/index.html -f [or]
And writes the cache to /cache/all/cookie/requesturl/index.html
Could you please add such feature to your plugin so that anyone else who needs this can use it too and so we do not have to manually merge our changes into your plugin when it is updated?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Generate Cache based on Cookie’ is closed to new replies.