Using WP-Rocket and Interactive Geo Maps

You are here:

WP-Rocket is great tool to make your website faster, using cache and minify mechanism that speed up your pages. In some cases this might cause javascript errors on your page, preventing the maps from loading. If this is the case you can exclude the map files and inline code from being considered by WP-Rocket.

In the option to exclude JavaScript files (in all of the options you enable – Minify/Load Deferred/Delay Execution) you’ll need to add:

Using WP-Rocket and Interactive Geo Maps

To read more about this you can read the official documentation from WP-Rocket:

If your version of WP-Rocket allows you to exclude inline JavaScript, you’ll need to add: