Hello again,

I'd just like to make one final revision of the patch.

Two simplifications can be made without sacrificing my main objective,
i.e., to make it possible for nginx to cache responses from upstream
that must always be revalidated for authorization.

The simplifications are:

  1) Don't change the handling of the X-Accel-Expires or Expires
     headers, i.e., change only the handling of max-age=0 (and
     s-maxage=0) in Cache-Control.

  2) Don't lower the valid time of all cached responses by one second,
     i.e., just make sure that a cached response is "immediately stale"
     when max-age=0.

I've attached the test cases. It's a new file this time and not a patch
like the one I posted on another thread.

I'll post the new and simplified changeset patch in a moment.

Best regards,
Thorvaldur

Attachment: proxy_cache_revalidate_always.t
Description: Troff document

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to