Hi, I configured my pyramid views with pyramid zcml, and that's all fine. However, I want to add a max-age caching header to a response, and was wondering what the best way was to do this. There is no http_cache setting in the pyramid_zcml code. Is there a reason for this other then nobody never implemented this? (In that case I'll try to add it to pyramid_zcml and do a pull request)
I know I can create a custom renderer for this view (I now have a chameleon template as renderer), and in this renderer I can set the caching headers, but I was hoping for something simpler. Cheers, Huub -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
