5
Views
2
Comments
Override Cache Control header of external JS added using AddJavascript tag
Application Type
Traditional Web
Service Studio Version
11.9.0 (Build 33413)

We have multiple external JS added through AddJavaScriptTag action of the HTTPRequestHandler API extension. By default the cache control header for these JS is 

Cache-Control: max-age=2592000

I want to change this header. Do I have to use any extension ? I tried using AddHeader it didn't change but I think it will be used for the Page request and not for these JS request because these JS will get requested after DOM gets ready.

Hi nraina,

Try below


Best Regards,

Rama