Remove render-blocking javascript in google maps

To resolve the render-blocking javascript in google maps which shows in Google Pagespeed insight all you need to do is add async attribute in the script. For example:

Before:

<script src=”https ://maps. googleapis .com/maps/api/js?v=3.exp&sensor=false” ></script

After

<script src=”https ://maps. googleapis .com/maps/api/js?v=3.exp&sensor=false” async></script

Try to add the Google Map manually instead of plugin if it is not possible otherwise to resolve the render-blocking javascript in google maps

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s