POST for cache invalidating

7 views
Skip to first unread message

anakin

unread,
Feb 19, 2009, 1:38:22 PM2/19/09
to mod_cache
Hi,
I'm new with mod_cache and would like to ask about the method of cache
being invalidated after a POST request. Does POST on /resource
invalidate the cache for /resource just like "PURGE /resource" does?
It's kind of handy feature also provided by squid and I'm wondering if
I can use it here the same way.

Thanks!

Hongyu

unread,
Feb 19, 2009, 8:08:40 PM2/19/09
to mod_...@googlegroups.com
"PURGE /resource" let modcache to delete "/resource"'s local cache in disk. modcache supports "PURGE" command
"POST /resource" just let modcache pass request to mod_proxy and don't cache the response
Reply all
Reply to author
Forward
0 new messages