Art O Cathain created ROL-2172:
----------------------------------
Summary: Media resources have HTTP Expires header set
Key: ROL-2172
URL: https://issues.apache.org/jira/browse/ROL-2172
Project: Apache Roller
Issue Type: Bug
Components: Media files / uploads
Affects Versions: 6.0.0
Reporter: Art O Cathain
For some reason, media assets served by Roller have the HTTP Expires header set.
This interferes with browser and CDN caching. I would expect it not to be set
at all.
Sample request:
{{curl --head
localhost:8080/technology/mediaresource/bd8dacc4-a347-4551-a620-f943ba717cdd}}
{{HTTP/1.1 200 }}
{{ETag: standard}}
{{Last-Modified: Fri, 17 Apr 2020 16:02:23 GMT}}
{{Expires: Thu, 01 Jan 1970 00:00:00 GMT}}
{{Content-Type: image/png}}
{{Transfer-Encoding: chunked}}
{{Date: Sun, 18 Jul 2021 12:48:41 GMT}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)