I’m experiencing an issue with the MailPoet plugin on my WordPress website when using LiteSpeed Cache.
Problem:
When LiteSpeed Cache is enabled, the MailPoet Slide-In form does not display on the front end. As soon as I disable the LiteSpeed Cache plugin, the form works correctly. This has been fully confirmed on a staging site with only the necessary plugins (MailPoet and MailPoet Premium) active and the Astra theme.
What I’ve tried:
Site environment:
Is there a reliable way to fully exclude MailPoet form resources or scripts from being cached, combined, or deferred, so the slide-in form displays properly? Or should I consider switching to another form type (e.g. popup or embedded) that may be more compatible?
I’d really appreciate your guidance on the correct way to handle this conflict.
Thank you in advance!
Problem:
When LiteSpeed Cache is enabled, the MailPoet Slide-In form does not display on the front end. As soon as I disable the LiteSpeed Cache plugin, the form works correctly. This has been fully confirmed on a staging site with only the necessary plugins (MailPoet and MailPoet Premium) active and the Astra theme.
What I’ve tried:
- I followed MailPoet's official recommendations and added the following to JS/CSS Excludes:
- /wp-content/plugins/mailpoet/
- mailpoet.js, mailpoet-public.js, mailpoet-frontend.js (full list depending on the version)
- I also tested exclusions in Lazy Load and Minify options.
- Cleared all caches and tested with Incognito mode.
Site environment:
- WordPress with Astra (free) theme
- MailPoet Premium
- LiteSpeed Cache version 7.2
- Hosted on shared hosting with LiteSpeed server
Is there a reliable way to fully exclude MailPoet form resources or scripts from being cached, combined, or deferred, so the slide-in form displays properly? Or should I consider switching to another form type (e.g. popup or embedded) that may be more compatible?
I’d really appreciate your guidance on the correct way to handle this conflict.
Thank you in advance!