Setting expiration headers on custom scripts

marc-anton_nc

29-11-2016

Hi there,

We are using Adobe Activation (DTM) on our website and we are suing the custom script capabilities of the page load rules to load scripts on the website for tracking purposes.

The issue is that these scripts are cached - of course - but without any specific expiration defined for them. As a result, it slows the page load and can be seen in the webmaster view with a warning on the website analysis with the message: "leverage browser caching for the following cacheable resources: http://www.assets.adobedtm.com/...."

Any tips on how to set up an expiration date for these custom scripts?

Best regards,

Marc-Anton

Accepted Solutions (1)

Accepted Solutions (1)

jantzen_belliston-Adobe

Community Manager

30-01-2017

Hi Marc,

I was able to bring your question to one of our DTM engineers. They indicated any customers looking to modify their script headers should utilize the self-host option within DTM. This will allow you to host the DTM libraries on your own hosting environment and thus have full control of cache expiration. 

 

Cheers,

Jantzen

Answers (3)

Answers (3)

jantzen_belliston-Adobe

Community Manager

29-06-2017

The recommendation for this problem is to move to self-host. Adobe Launch may have other options available, but we won't know for sure until it reaches general availability.

m-hmh

29-06-2017

Hi Adobe team,

In order to optimize the website page speed, we should fix this issue. Is there any other recommendation available other than going to "self host option within DTM"?

Thanks

jantzen_belliston-Adobe

Community Manager

11-01-2017

Hi Marc,

My understanding is that DTM uses a cache busting technology when deploying via Akamai to the edge. This ensures the latest version of your rule/tool is loaded each time. I'll continue to look into this to see if there is any tips we can provide.

 

Cheers,
Jantzen