On Friday, March 13, 2015 at 3:53:38 PM UTC-4, Chris McDonough wrote: > > You mean renderers specified via view_config(renderer=...). Like I > said, I don't think this is the right place to implement caching. >
Sorry, I think we're having 2 different conversations about the same thing. I'm not suggesting that caching be implemented in `view_config(renderer=...)`. I'm just stating that `view_config(renderer=...)` natively supports "renderers" that are templating engines, json, raw strings (as "text/plaintext"), but not actually HTML. Where the HTML comes from is irrelevant (be it a cache or manually created during the view). In order to return HTML from a view, one needs to manually craft a response. That is what I find awkward. -- 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/d/optout.
