httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karim Zaki <Karim.Z...@itworx.com>
Subject RE: [users@httpd] Clearing cache selectively on Apache + mod_cache
Date Tue, 02 Dec 2008 11:47:24 GMT
Another update. It was possible to make it happen using virtual hosts by setting the ServerName
attribute of both virtual hosts the same, with the only difference being that one of them
has CacheIgnoreCacheControl set to On, and the other to Off, and then sending a request to
that host with cache-control: no-cache. I think this is the way it's going to have to work.

Thanks again to everyone for your contributions.

-----Original Message-----
From: Karim Zaki [mailto:Karim.Zaki@itworx.com]
Sent: Tuesday, December 02, 2008 1:07 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Clearing cache selectively on Apache + mod_cache

Seems I'm back at square 1. The idea of using max-age=0 did not work, which, on second thought,
makes sense. CacheIgnoreCacheControl should ignore the "cache-control" header regardless of
its value. The virtual host solution did not work either. It created new cache entries for
the vhost.

-----Original Message-----
From: André Warnier [mailto:aw@ice-sa.com]
Sent: Monday, December 01, 2008 6:20 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Clearing cache selectively on Apache + mod_cache

Eric Covener wrote:
> On Mon, Dec 1, 2008 at 11:09 AM, André Warnier <aw@ice-sa.com> wrote:
>> Which leads me to believe that, as such, the scheme proposed with the
>> separate VirtualHost will not work as simply as expected.
>
> Yep, it looks like you'd need to jump through hoops to have a vhost
> that was able to nuke these requests (using the same hostname on a
> separate interface).

Just intellectual curiosity : other than going through the source code
of mod_cache, is there a description somewhere of the algorithm used by
mod_cache to calculate this hashcode ?


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


Mime
View raw message