How do you serve Cheetah in production?
Guys can you share the setup on how to precompile and serve cheetah in production
Since we dont compile templates in webpy it is getting upstream time out errors. If you could share a good best practise it would help
*
Jeremy wrote: For a production site, I use Cheetah with pre-compiled templates - it's very fast (the templates import especially quickly when python compiled and optimised). A bit of magic with the imp module takes a template name and a base directory (configured in a site-specific config) and loads up that template, taking care of #extends and
import directives as appropriate. I don't use the built-in support for
Cheetah, however. The new template library is also only imported to display the debugerror page
*
This works
This is what i did with you code
includes dont work in the given method.
This is the error i got
Maybe compile automagically on as needed basis: