-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Demo sites
-
Browser:
-
Sprint:DevTools-01
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 ...