On Sun, Nov 30, 2008 at 9:59 AM, Karim Zaki <[EMAIL PROTECTED]> wrote:
> Greetings all,
>
>
>
> I'm running Apache/2.2.10 (Win32) mod_jk/1.2.27 + mod_cache. I'm looking for
> a way to clear the cache from Apache for specific URLs. I'm using Apache to
> cache dynamic content that is served by Tomcat, and I would like to keep the
> content (age) high (e.g. 24 hours) but still to be able to clear the cache
> for specific pages when the content is updated. Is there a way to tell
> Apache to clear the cache for a specific list of URLs?
>

Try these combinations of headers, comment from cache_util.c:

    /*
     * We now want to check if our cached data is still fresh. This depends
     * on a few things, in this order:
     *
     * - RFC2616 14.9.4 End to end reload, Cache-Control: no-cache. no-cache in
     * either the request or the cached response means that we must
     * revalidate the request unconditionally, overriding any expiration
     * mechanism. It's equivalent to max-age=0,must-revalidate.
     *



-- 
Eric Covener
[EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to