Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
14.7.0
-
Flagged
-
Quasar
-
Team Quasar sprint 278
Description
When an asset or an image is updated from the CMS using Edit-button, changes are not reflected on the site.
This is due to the Cache-Control: immutable that was added in CMS-13275 to
13.4.4, 14.3.0 and SaaS, in method org.hippoecm.hst.servlet.utils.HeaderUtils.setExpiresHeader, used by BinariesServlet.
The browser cache will not ever be updated while it's fresh (within max-age)/
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
Reproduction
To confirm caused by CMS-13275, I could reproduce on 14.7 but not on 14.2, by uploading a pdf, then use Edit to upload a different one. Accessing BinariesServlet doesn't see the change.
Attachments
Issue Links
- is a result of
-
CMS-13275 Cache-control header missing private/public setting
- Closed