Use Pragma: no-cache only when appropriate ------------------------------------------
Key: WAGONHTTP-10 URL: http://jira.codehaus.org/browse/WAGONHTTP-10 Project: wagon-http Type: Improvement Environment: Maven 2.0.4, Mac OS X 10.4.6 Reporter: Gordon Henriksen Maven issues all of its HTTP GET requests with a Pragma: no-cache field in the header. This makes it impossible to use a caching reverse proxy in lieu of a complete ibiblio mirror. Brett notes: > It should actually be something that is configured on the wagon.get() > request, actually, so that Maven could send it for snapshots and > metadata, but not others. But a global setting should be ok too if the > proxy owner knows what they are doing. I'm not much attached to a global configuration switch to globally disable the option, since Maven knows more about its usage than the proxy possibly can. Nonetheless, very few, if any, requests to ibiblio should be marked as no-cache. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira