Hi, I did AB testing on my site using the Autoptimize and realize when I turn on the Optimize Javascript, my menu and fly-out off canvas contact form will also not work.
I suppose the next step is to exclude Pro JS files in Autoptimize that cause the problem?
Can you tell me which file I need to exclude to solve my problem?
Hi There,
Yes, no need to optimize JS and CSS files because the theme optimize it already. Optimizing it again results to breakage on the files.
– If you want to exclude a specific file, e.g. wp-content/plugins/cornerstone/assets/css/style.css
, you could simply exclude cornerstone/assets/css/style.css
– If you want to exclude all files of a specific plugin, e.g. wp-content/plugins/cornerstone/assets/js/dist/site/*
, you can exclude for example cornerstone/assets/js/dist/site/
or plugins/cornerstone
Hope this helps.
Hi Lely,
Thank you for the reply. About the already optimized CSS and JS with Pro I already knew about it. What troubles me is that when I turn off all JS and CSS in w3 total optimized functions, it still break my site. Any other suggestion?
Hi There,
Please purge all your caching plugin and feature so it will regenerate with the new settings.
Thanks,
Hi, thanks for the reply. I did what you suggested long ago. That is why I posted this question here. And I have also been through to manually delete w3 files after uninstalled from plugin menu.
Hi there,
That should be 100% something related to cache. Would you please make sure also that your hosting service provider does not have a cache system on their own side? If they do ask them to purge it for you.
Also, make sure that you use services such as CloudFlare with this consideration in mind:
https://xthemetips.com/using-cloudflare-rocket-loader-with-x-pro-and-x5/928/
At last, having the URL of your website may help us to follow up.
Thank you.