Arcgis cdn caching

1076
0
03-17-2017 08:33 AM
ae
by
Occasional Contributor II

The arcgis js cdn that ESRI suggest developers to use does not seem to be optimized for caching of resources and page speed. By running any of the arcgis js samples through Google Pagespeed, I get a result saying that the files received through the cdn expires after 60 minutes. As an example, please see the following: 

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fja...  

So far, the only way I've seen to overcome this is to host your own version of the api, on your own server.

Are there any other alternatives to resolve this? And: Why is the cdn setup with such a short expiry date? 

Tags (1)
0 Replies