Open tombentley opened 8 years ago
VERY good point!
Nice idea!
A similar optimization would be a X-ExternalDescriptor: module.properties
(or X-ExternalDescriptor: module.xml
or X-ExternalDescriptor: none
) header when the requested resource (currently always a .jar
) had a related external module descriptor. Right now it looks like CMR has to make separate requests to find out if such an descriptor exists.
When serving artifacts if the Herd added at
X-SHA1
HTTP response header it would save the CMR from having to make further request for the.sha1
file.