Exclude AJAX mobile menu and off canvas filter options from caching
-
Hi,
After optimizing my webshop with WP Rocket I noticed that because of the JS delay / Execution my mobile menu and filter options take around 3 seconds to load. While all the other elements of the site already are loaded in.
I tried to exclude these JS files to see if that had any effect, but it did not.
/wp-content/themes/woodmart/js/scripts/menu/mobileNavigation.js
/wp-content/themes/woodmart/js/scripts/menu/mobileNavigation.min.js
/wp-content/themes/woodmart/js/scripts/menu/menuDropdownsAJAX.js
/wp-content/themes/woodmart/js/scripts/menu/menuDropdownsAJAX.min.js
Could you please point me in the right direction?
This theme function was already turned on: https://share.getcloudapp.com/X6uQ28Kr