Closed fdiary closed 3 years ago
Hi, please take a look at https://www.zope.org/developer/becoming-a-committer.html first and sign the contributor agreement. I'll be happy to look at the PR in detail once that's done and you're an official member in this GitHub organization.
Hi, please take a look at https://www.zope.org/developer/becoming-a-committer.html first and sign the contributor agreement.
I just sent it.
@fdiary Did you follow the instruction "On page 2 enter Zope in the field for program"? The contributor admins made you a member of the plonefoundation
organization but not zopefoundation
?
@fdiary Did you follow the instruction "On page 2 enter Zope in the field for program"? The contributor admins made you a member of the
plonefoundation
organization but notzopefoundation
?
Yes I did... I'm asking now.
Currently, responses of several CMFCore types do not have Cache-Control header based on Caching Policy Manager in '304 Not Modified' response case. Imagine the following scenario with intermediate cache server (like Apache Traffic Server) :
Thus cache inside intermediate cache server can stay forever, unless Zope returns a different Last-Modified value.
RFC 7232 says :
With this PR,
_setCacheHeaders
is called before returning '304 Not Modified' so that intermediate cache can update its cache with updated Caching Policy Manager configuration.