Exclude Mobile Menu Javascript from WP Rocket Cache

If you use WP Rocket plugin and notice any issue with the WP Mobile Menu try to exclude the WP Mobile Menu scripts from the WP Rocket process.

 

Also if you notice something wrong disable the Safe mode option in WP Rocket.

Copy the code below


/wp-content/plugins/mobile-menu/includes/js/mobmenu.js

/wp-content/plugins/mobile-menu-premium/includes/js/mobmenu.js

/wp-content/plugins/mobile-menu-premium/includes/js/mobmenu-pro.js

Exclude Mobile Menu scripts from WP Rocket cache