Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19604

Disable ETag header behavior in DownloadService for blob without digest

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 8.10
    • Component/s: Core

      Description

      We need to disable ETag header behavior in DownloadService for blob without digest because it could leads to cache issues.

      This is due to usage of blob's digest in the ETag header of HTTP response. When digest is null ETag equals to "null" then further requests to same url will have this value in If-None-Match header which will trigger a HTTP 304 code response as it matchs the null digest even if file has changed.

      Log when it happens.

      Problem found in NXP-19564.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: