You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by cristi <cr...@medialab.sissa.it> on 2006/11/08 11:49:48 UTC

[users@httpd] is it possible to invalidate the cache?

Hello all

I have set up as a caching reverse proxy. Is there any way
to invalidate the cache in order to force apache to make the
requests to the origin server ?

thx
cristi


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] is it possible to invalidate the cache?

Posted by Joshua Slive <jo...@slive.ca>.
On 11/8/06, cristi <cr...@medialab.sissa.it> wrote:
> Hello all
>
> I have set up as a caching reverse proxy. Is there any way
> to invalidate the cache in order to force apache to make the
> requests to the origin server ?

Sure.  See the HTTP spec for the details of what the client can
request as far as caching.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13

In particular, I'd guess
Cache-Control: max-age:0
would probably work as an HTTP request header.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org