Exclude cookie not working




Wordpress LScache Plugin: Exclude cookie not working

Last Updated on: Wed, 15 Apr 2026 00:00:02
I have added the cookie I want to exclude from caching in the Do Not Cache Cookies field but it still shows the cookie on every page load after I quit the browser and re-open. Hello, Can you submit report number from WordPress admin -> Litespeed cache -> Report and post the number (only) here. Thanks. Its PUREKDDU Hello again, Sorry but i cant find that exclude cookie in your site. Can you point page with the cookie. Hi @greencode, Im going to mark this topic Resolved, due to lack of activity. If you still need help, well be happy to reopen the topic. Please let us know what page has the cookie, if so. Thanks! Apologies for not getting back sooner ? I was on holiday. If you visit https://www.talentedladiesclub.com/ you will see a panel in the bottom right of the page. Upon clicking OKAY this plants a cookie, tlc_cookies1, in the browser. However, if I reload that page that panel remains even though I have excluded that cookie in the Litespeed settings. What Ive had to do is add style= display: none to the DIV ID cookiespop so as to not annoy our users. If you let me know when youre online Ill quickly remove the display:none so you can see it. Hi, I think you misunderstood this function Do Not Cache Cookies is to tell cache that do not cache pages if this cookie is present. I assume your goal is display something like europe cookie consent warning , and after OK this warning should show no more ? if that is case , please check this https://wordpress.org/support/topic/eu-cookie-law-and-litespeed-cache-problem/ its same case ,just change the cookie name to yours. Best regards, Yep, totally misunderstood that function. Ive now added the code to the htaccess file as outlined in the other post and everythings working as it should.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference