To my knowledge, you cannot directly invalidate an entry in the cache. mod_cache uses a expiration strategy to invalidate items in the cache. You need to set expiration headers in your response to tell mod_cache when it should be removed from the cache.
Guillaume -----Original Message----- From: howard chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 6:39 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Apache dynamic page caching? Hi, On Wed, Apr 16, 2008 at 3:53 PM, Nick Kew <[EMAIL PROTECTED]> wrote: > > mod_cache. > > The problem with mod_cache is when user update a page, how do I tell the cache should be removed from mod_cache? Currently I stored the cache in local file system and it can be easily unlink() to force an update. In the context of dynamic page, I don't have field such as last modifed or etag. Howard --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]