AnsweredAssumed Answered

Set Cache-Control Header for Alfresco Content

Question asked by enigma969 on Apr 12, 2017
Latest reply on Apr 13, 2017 by mehe

I'm using Alfresco to store PDFs for my web application. However, when requesting these files directly, e.g. via

 

https://example.com/alfresco//download/attach/workspace/SpacesStore//b1b6f82c-e09a-4f99-b9be-01aed2f53882/demo.pdf?ticket=TICKET_26e8e8d14d97963e685879ab9a09cb2fb973ff85

 

the HTTP Cache-Control Header is set to "must-revalidate, max-age=0". This prevents the browser to cache these requests. 

 

How can I modify this header? Alfresco Vers. 5.0

Outcomes