-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF15, 11.1, 2021.0
-
Component/s: Web Common
Currently a HEAD on a file download request is treated by the default servlet implementation, which consumes and throws out all the body just to compute a content-length (javax.servlet.http.HttpServlet.doHead and javax.servlet.http.NoBodyResponse.NoBodyResponse).
We can do better in the Nuxeo download service itself to avoid reading any bytes from the blob, which has a non-negligible cost especially if it's in S3 or similar.
Note that for CMIS this is already dealt with explicitly by the Chemistry framework, but this has to be refactored by NXP-27337.
- is required by
-
NXP-27337 Use the Nuxeo DownloadService framework for CMIS downloads
- Resolved