Invalidate cache entry using X-Accel-Expires

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