Answer the question
In order to leave comments, you need to log in
How to solve the problem with optimizing maps from Yandex?
Hello, I recently ran into a problem. There was a landing page, there were 2 maps from Yandex maps. Delivered through script(src... ) in the code. Everything worked fine until I began to check the site for optimization. Google scores 30. I started optimizing the image, etc., but only got a miserable 40. I couldn't figure out what was wrong. Until I made another request through GtMetrix, and looked that the latest Yandex maps were loaded. Removed it for the sake of the test
. Google indicators increased to 89
GtMetrix 90 , 90
Download speed decreased by 2 times
Requests from 190 decreased to 110
I think it's obvious that such a big difference greatly affects the download speed.
Now I have a project where there will be 3 cards on the page (Different addresses, and cards will switch through tabs)
I have a question how to optimize this business so that Yandex does not load another 80 additional scripts with it. How do you optimize, because the Yandex map is a very big need
Answer the question
In order to leave comments, you need to log in
1. Download Yandex map asynchronously.
2. Make not 3 different cards, but one. You can move the map to different addresses and set different labels using the Yandex maps api.
Do you really need a map? Maybe it will be enough to insert a picture with a map?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question