Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2398

Fix nightly Apache front cache config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Demo sites

      Description

      All Web UI static resources are served with a

      Cache-Control: max-age=3, private
      

      cache is good but 3 seconds is kind of useless. Plus, it could be public. FYI, since NXP-25385 we defined a 24 hours cacheTime for all Web UI static files, so ideally we should let it play.

      The real problem is that Rest API calls also have this Cache-Control: max-age=3, private header which is a non-sense, it could make the client show inconsistent data and cause ConcurentUpdateException server side when editing documents.

      AFAIK, the apache proxy conf is only defined in https://github.com/nuxeo/nuxeo-tools-docker-priv/blob/master/nightly/apache/files/proxy.conf so I don't really know where this max-age=3 comes from ...

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: