One of the things we like about Tornado is that you can emit in-line (ugh) Javascript in templates and embed things like Python constants (for input field names which are shared with the Python code base) and localizations (for text and messages in we pages).
This has several disadvantages:
- JS isn't compressed
- JS is in-line
Does anyone have any ideas for better ways to do this? I've considered writing some sort of post-render processor to compress the JS, but that seems ugly and expensive.
TIA