Answer the question
In order to leave comments, you need to log in
Browser cache. How to cache resources with maps.googleapis?
I turned on the cache for the browser, I check at https://developers.google.com/speed/pagespeed/insights/ and I see something like this:
Please tell me how can I close this issue?
Answer the question
In order to leave comments, you need to log in
Exactly the same as caching Google analytics scripts or Yandex metrics:
download the script,
put it locally on the server,
load locally from the server like this site.ru/js/script.1.js,
give it with the headings "keep forever",
write the task in cron, so that it periodically downloads the script again from their server, when updating, it changes the name to script.%version%.js
Try to search in Google, don't be lazy.
There are even ready-made pieces of code for all this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question