[Zope-dev] z3c.hashedresource and cache response headers
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Fri Sep 18 11:06:15 EDT 2009
Hi,
We're trying to make an integration of z3c.hashedresource into Grok.
While working on it we wondered how and where people using
z3c.hashedresource set the caching headers for the resources referenced
by the URLs generated by z3c.hashedresource.
A few random thoughts about this:
* zope.browserresource.file.FileResource will set cache response headers
that are more or less hardcoded. Do people just use these values?
* You probably only want to set "aggressive" cache response headers for
resources that are referred to by the URLs generated by z3c.hashedresource.
Maybe it is an idea to set these headers in the ++noop++ namespace
handler? (although the name "noop" really isn't suitable anymore then -
maybe it could be "++cache++" or something).
Any ideas about this?
regards,
jw
More information about the Zope-Dev
mailing list