Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Setting expiration headers on custom scripts

marc-anton_nc
Level 2
Level 2

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

1 Accepted Solution
jantzen_belliston-Adobe
Correct answer by
Level 10
Level 10

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

View solution in original post

4 Replies
jantzen_belliston-Adobe
Level 10
Level 10

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

jantzen_belliston-Adobe
Correct answer by
Level 10
Level 10

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

View solution in original post

m-hmh
Level 2
Level 2

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
Level 10
Level 10

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.