Question:
How to increase caching time for the third-party script links by using FASTLY config?How to setup cache long time for the 3rd scripts? We want increase caching for them?
Do fastly support to do this?
Answer:
Is it not possible for control caching for third party scripts. Even if those scripts were using Fastly, their TTLs is something that is controlled by the owners.
Maybe some of those scripts can be hosted locally on your website, but it would require you to keep them updated and probably could run into many compatibility issues.
This has been a known issue for a long time because people want to score 100% in PageSpeed: https://stackoverflow.com/questions/29162881/pagespeed-insights-99-100-because-of-google-analytics-how-can-i-cache-ga
No comments:
Post a Comment