Strip whitespace from Mako template output (Pylons)
If your data are not too dynamic, you could store an optimised cache of the template output and serve this to web clients.
I'm using Mako + Pylons and I've noticed a horrendous amount of whitespace in my HTML output.
How would I go about getting rid of it? Reddit manage to do it.