Compatibility with the WeePie Cookie Allow plugin




Wordpress LScache Plugin: Compatibility with the WeePie Cookie Allow plugin

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hey! I am the developer of the CodeCanyon plugin: https://codecanyon.net/item/weepie-cookie-allow-easy-complete-cookie-consent-plugin/10342528. We offer a GDPR cookie solution for WordPress. Currently we have a client who is having a compatibility issue with our plugin. In short: Our plugin shows a cookie notice and blocks 3rd party scripts and iframes untill constent have been given. After consent, a cookie (wpca_consent=1) is placed or after Decline (wpca_consent=0). Does the LiteSpeed Cache plugin code offer a possibility (maybe hooking into the serving cache logic at some point) for implementing an integration with our plugin so that the cached verison of a page is only served after the wpca_consent cookie is set to 1 ? Can you therefore send me an email to [ redacted, support is not offered via email, Skype, IM, etc. ] so that we hopefully can work on a solution together (I can send you more details by e-mail if you want)? Hope to hear from you soon! [ Signature moderated. ] Hi @weepie, Thanks for the request. Our API doc is here: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:api You can use vary to make different cache copies. e.g. Call LiteSpeed_Cache_API::vary_add( wpca_consent ) in your case. You will see different wpca_consent cookie values will have different copies. Hi @hailite! Thanks for your fast reply! I will try with your info and let you know if it works! Kind regards Hi @hailite, Lately we have improved our plugin regarding caching compatibility by moving the PHP logic to the JavaScript. In short this means: The bar/box is now in-depended from the server: the JavaScript decides, based on the cookie values, to show/not show the bar/box The blocking/un-blocking of content in the HTML (scripts, iFrames, etc) is prepared server-side, but the JavaScript decides again to block/un-block the content This means that, also with cached pages, our WeePie Cookie Allow plugin should function well with the LiteSpeed Cache plugin. The only thing is that the cache (I think) should be cleared when: a user saves one of the settings tabs of our plugin (because they can impact the frontend like colors, texts and cookie settings) a user activate/de-activate our plugin For our customers who are using your plugin, would you be able to test our plugin compatibility? If yes (we would be realy happy:)), please send us an email so that we can send you a copy and cooperate. Thanks in advance and kind regards Team Weepie Hi, @weepie Thats great news! Would you like to join our Slack community? Weve set up a channel specifically for discussing LSCache compatibility with 3rd party plugins, and that would be the perfect place for you to interact with our team on this topic. Once youre logged into our Slack, look for the #wpcache-dev channel, join it, and introduce yourself Hi @lclarke, Thanks, Ive posted on the #wpcache-dev channel.



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



Reference