I'd suggest putting it in JIRA. Making that configurable sounds reasonable.

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.

- Brett

Gordon Henriksen wrote:
This didn't get any traction on the users' list. Is there any way to moderate the cache control pragmas on Maven's GET requests?

— G


Begin forwarded message:

From: Gordon Henriksen <[EMAIL PROTECTED]>
Date: June 2, 2006 15:49:46 EDT
To: Maven Users List <[email protected]>
Subject: Pragma: no-cache on GET requests?
Reply-To: Maven Users List <[email protected]>

Here's a GET that Maven 2.0.4 generated:

GET /maven/mirror/ibiblio/org/apache/maven/plugins/maven-surefire-plugin/2.2-SNAPSHOT/maven-surefire-plugin-2.2-SNAPSHOT.pom HTT
P/1.1
Pragma: no-cache
User-Agent: Java/1.5.0_06
Host: dev.manhunt.net
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-type: application/x-www-form-urlencoded

Is there a way to disable the no-cache pragma? I set up a caching reverse proxy of ibiblio (i.e., a partial mirror), and was surprised when Maven disabled it.




--
Brett Porter <[EMAIL PROTECTED]>
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to