I've been trying to get client caching of images served by the media system in EpiServer working. Essentially what I want to be able to do is set the Cache-Control:max-age header but nothing I've tried so far has changed this.
The following works for files that are part of my project:
But doesnt have any effect on files in globalassets.
I've also tried:
But that doesnt work whether I put it inside a (as below) or globally.
Does anyone else know how this should be configured? Any help would be super appreciated!
Hi All,
I've been trying to get client caching of images served by the media system in EpiServer working. Essentially what I want to be able to do is set the Cache-Control:max-age header but nothing I've tried so far has changed this.
The following works for files that are part of my project:
But doesnt have any effect on files in globalassets.
I've also tried:
But that doesnt work whether I put it inside a (as below) or globally.
Does anyone else know how this should be configured? Any help would be super appreciated!
Thanks