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 inline JavaScript, you’ll need to add:


In the option to exclude JavaScript files (also the exclude option for the deferred files) you’ll need to add:


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

Posted by Carlos Moreira

Lead developer of Interactive Geo Maps plugin.