Setting Expires Header for different filetypes(CSS, JS, TXT)

Hi All,

 

I have come up with a Requirement where i have to set expire header for JPEG field type. Can anyone tell how we can achieve this in Sitecore.

any help would be appreciated.

 

Thanks

  • Take a look at the <setting name="MediaResponse.CacheExtensions" value=""/> setting in the config files,

    An other option is to do it in the httpRequestBegin pipeline.