Invalidate cache entry using X-Accel-Expires

Calin Don calin at presslabs.com
Sun Jan 29 17:15:47 UTC 2012


Hello,

Right now I'm invalidating cache entries using X-Accel-Expires 1 response
with 302 redirect of the resource to itself. I want to ask for your opinion
on two issues:

1. Do you see other response code (other than 302) more suitable for this
action?
2. I think that X-Accel-Expires 0 should also invalidate the cache entry,
beside not caching item at all, since it says this resource should expire
in 0 seconds. What's your opinion on this?

Thanks!
Calin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120129/7c17d7e2/attachment.html>


More information about the nginx mailing list