Compatibility issue with Litespeed cache
-
Litespeed page caching, that is enabled by default for many WordPress sites, causes a problem for this plugin. On page load, the timer always resets to start value, meaning countdown from the moment the page where the shortcode is used, was created.
A good fix for this would be to fix the code to use Javascript to dynamically generate the numeric values client-side and not rely on server-side rendering.
Meanwhile, it could be noted in the plugin setup that caching needs to be disabled on the pages where the shortcode is used. Maybe also to have the plugin detect whether the page is cached and give the user a notification that the plugin won’t work correctly unless caching is disabled.
- You must be logged in to reply to this topic.