SysSiteAssets cache-control headers

Vote:
 

Hi,

I try to define a max-age cache-control header for all images uploaded to EPIserver.

In my web.config I have the following sections:

  
    

However, when I look in chrome devtools I see:

All these images come from the sysisteassets folder but somehow cache headers are different. What could explain this?

#172366
Edited, Dec 01, 2016 12:24
Vote:
 

Turns out the section

<staticFile expirationTime="7.0:0:0" />

needs to be placed beneath all <location> sections. Now it works as expected.

#172695
Dec 08, 2016 11:11
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.