Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-2172

Media resources have HTTP Expires header set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.0.0
    • None
    • Media files / uploads
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            artbristol Art O Cathain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: