You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/05/14 08:46:27 UTC

[jira] Moved: (WAGON-119) Use Pragma: no-cache only when appropriate

     [ http://jira.codehaus.org/browse/WAGON-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved WAGONHTTP-10 to WAGON-119:
---------------------------------------------

    Fix Version/s:     (was: 1.x)
                   1.x
              Key: WAGON-119  (was: WAGONHTTP-10)
          Project: Maven Wagon  (was: wagon-http)

> Use Pragma: no-cache only when appropriate
> ------------------------------------------
>
>                 Key: WAGON-119
>                 URL: http://jira.codehaus.org/browse/WAGON-119
>             Project: Maven Wagon
>          Issue Type: Improvement
>         Environment: Maven 2.0.4, Mac OS X 10.4.6
>            Reporter: Gordon Henriksen
>             Fix For: 1.x
>
>
> 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