Tagged: Lazy Load, maps, Page Speed
-
AuthorPosts
-
August 7, 2016 at 1:39 am #669367
Hi guys,
Now that I have Google maps working again on my site, I have noticed that pages that use Google maps now load much more slowly than they did before. I assume that is due to the theme having to transmit the API key to Google and get an approval to display the map — a handshake of sorts?
Would it be possible to “lazy load” the maps so that that activity and the subsequent delay occurs once the user scrolls down? I believe Enfold uses lazy load on images below the fold. Or is there another solution? I am already using managed wordpress & caching.
Thanks
RobExample page: http://www.thomashenthorne.com/2-foothill-road-san-anselmo/
Tool used to see the more than 2 second delay from Google maps as this page is loaded:
https://tools.pingdom.com/#!/bfC17s/http://www.thomashenthorne.com/2-foothill-road-san-anselmo/August 10, 2016 at 3:34 pm #670867Hi Rob!
I could not check what version of the theme you are using. Just to make sure, could you please confirm that you are using the latest version of the theme which is currently 3.7.1?
If not, please – kriesi.at/documentation/enfold/updating-your-theme-files/ and see – http://kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/Best regards,
YigitAugust 10, 2016 at 4:38 pm #670938Hi Yigit,
When I posted that, I was running 3.7 but then updated 3.7.1 when it came out. I didn’t see a change version / log in the “what’s new” post so I’m not sure what 3.7.1 fixed…. it does indeed seem better than in 3.7….was that why 3.7.1 was released?Thanks!!
Rob
PS I just renewed another 6 months of support with you guys…. thanks for everything.
August 10, 2016 at 4:45 pm #670945Hi!
Well, honestly, it was not actually for that. I thought maybe you were using an older version and got your Google maps to work by referring to a workaround. But i am glad it is working better now!
Thank you! We are always happy to help :)
Regards,
YigitAugust 10, 2016 at 4:47 pm #670950Ha! Perhaps my web hosting service was just having a bad day. There is still a delay when maps loads but it’s not as bad as the first day I entered the API key.
I do think “lazy load” is something the developers should consider to reduce impact to page speed times. Page speed is becoming more and more important both from a user experience and a SEO ranking perspective so I hope that’s something the devs are thinking about as they further enhance this wonderful theme.
Thank you again
August 10, 2016 at 4:49 pm #670952Hey!
There is not such option as “lazy loader for Google maps” but you can go to Enfold theme options and check “Page Preloading” to enabled lazy load globally
Cheers!
YigitAugust 10, 2016 at 4:53 pm #670955I read your note and went running over to theme options… I don’t see an “enable lazy load” box – where can I find it?
The “show a preloader when opening a page on your site” is different than lazy loading, which loads a page immediately that a user can see without loading the elements “below the fold”… then it loads them as the user scrolls down. This reduces initial page load time.
You probably already know this…but just in case others are reading and wondering what in the world lazy loading is.
If there’s an ability to enable it for the theme that would be great, thanks!
August 10, 2016 at 5:13 pm #670978Hey!
Please try using this plugin – https://wordpress.org/plugins/lazy-load/ and feel free to request such feature here – https://kriesi.at/support/enfold-feature-requests/ :)
Regards,
YigitAugust 10, 2016 at 5:34 pm #670997Laughing at myself… why didn’t I think of that?!? Ha ha thank you, that’s great!!!
Have a good night.August 10, 2016 at 5:45 pm #671002 -
AuthorPosts
- The topic ‘Page Speed Down With New Google Maps API Key Usage’ is closed to new replies.