Hi,
When I have Litespeed Cache javascript minify and combine, ajax functions for a view doesn't work. If I disable javascript caching the ajax functions work. I want to know if there is one or more javascript files that I could exclude from caching?
Is this a private message if I should supply a staging site?
How can I send a private message here and supply credentials for my staging site?
Thanks for writing back.
I've set your next reply as private so that you can share a clone/snapshot of the website, for further investigation.
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )
Thank you for sharing the admin access.
I've downloaded the clone of your website and will be doing some troubleshooting on it. I will share my findings as soon as it completes.
Thank you for your patience.
Thank you for your assistance. Good luck!
M
Thank you for waiting and sorry about the delay in getting back.
During troubleshooting, I noticed that it is not the combining or minifying of script files that break the AJAX. But it happens only when the inline scripts are combined with the external/file scripts.
In the "LiteSpeed Cache" plugin's settings, you can set the option "JS Combine External and Inline" to off and the view's AJAX will work.
( screenshot: hidden link )
My issue is resolved now. Thank you!