ceylon-herd
ceylon-herd copied to clipboard
Add X-SHA1 header
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.
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.