Leverage browser caching for the adobe analytics satellite.js files.

akshay_kashyap

28-04-2017

Can anyone please help me to how can we cache these js files to improve site performance.

No browser caching for few JS files:All the JS files received from the host http://assets.adobedtm.com, do not have any caching applied to them. I do not think we can do anything since we are accessing them over network from the server.

Here is the list of DTM files, DTM team needs to come up with an approach to handle caching for these files.

 

Kindly refer the screenshot and do advice me how to approach the possibilities.

Leverage browser caching for the following cacheable resources:
http://assets.adobedtm.com/…70acb56c961ed02732098f8709561d800207d.js (expiration not specified)
http://assets.adobedtm.com/…866f0e8b765c120c442575f40c4b1508092b8.js (expiration not specified)
http://assets.adobedtm.com/…fdebd3d9b7bb3ed1245e5be4f274d6612129b.js (expiration not specified)
http://assets.adobedtm.com/…ts/satellite-560c193e3765336dd8000937.js (expiration not specified)
http://assets.adobedtm.com/…ts/satellite-56cdd2da64746d2cd5001412.js (expiration not specified)
http://assets.adobedtm.com/…ts/satellite-56cdd4b964746d4bf000253d.js (expiration not specified)
http://assets.adobedtm.com/…ts/satellite-578e475264746d0b1c002b6a.js (expiration not specified)
http://assets.adobedtm.com/…ts/satellite-57ceec2564746d4d3e00b81a.js (expiration not specified)
http://assets.adobedtm.com/…ts/satellite-57ceec2564746d4d3e00b830.js (expiration not specified)

Accepted Solutions (1)

Accepted Solutions (1)

andrew_r-GrfLbX

28-04-2017

Have you checked to make sure your browser has caching enabled? Cache Control is set to 0 for Satellite files so the browser should check the last modified date from the server and only download if it's later than the one it has. Right now my browser is reading satellite files from cache as they were modified a few days ago.

Answers (3)

Answers (3)

akshay_kashyap

28-04-2017

Its loading from disk cache, after first load. But when we load it ignoring the cache then its loading all over again taking whole lot of time, in terms of seo optimization. What should I do? 

andrew_r-GrfLbX

28-04-2017

I would check your own browser has caching enabled you should (from disk cache) or (from memory cache) in the size column if the cached version is being used and therefore the modified date was fine

akshay_kashyap

28-04-2017

enable browser caching, in like it has to be enabled in every browser or we can set it in any js file ?? can you please clarify as I am handling this kind of issue for the first time.