Cache vary on cookie doesnt work




Wordpress LScache Plugin: Cache vary on cookie doesnt work


Hello, On our website, we have a plugin that shows a simple bar for newsletter subscription on every page. This bar allows visitors to hide it by pressing the corresponding button on it. This action sets a cookie. However, LiteSpeed Cache prevents the hide functionality from working. For example, the bar shows up when its supposed to be hidden, and vice versa. To reproduce the problem: Open the Home page and dont do anything else on it. Go to another page, for example, About. Hide the bar. Refresh the page. The bar should stay hidden, but it now shows up. Another way to reproduce the problem: Open the Home page and dont do anything else on it. Go to another page, for example, About and dont do anything else on it. Go back to the Home page. Hide the bar. Go back to the About page. The bar should stay hidden, but it now shows up. Report Number: GJZYOUEJ The problem is definitely the cache ? when its disabled the hide functionality works as expected. Cache vary is configured for that cookie, but it doesnt seem to work. The page I need help with: https://www.stoevlab.com/ please put that vary rule at top of htaccess there are several [L] flag , when rewrite rule engine hit L flag, it wont process further , and yet you put the vary rule at bottom of it , so it was never executed
Do you need help?
We are online almost any time and ready to answer any question. The answer to your question will come faster than it takes you to release the mouse button.

Ask A Question