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.

Reply via email to