HTML minifier filter

David Romero <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CACGzxmCv4NUWVAi+htVN5DEL-pSiz+U20fqRdUdoSW1f=XsHNw@mail.gmail.com>
Hi all

I'm looking for a plugin or filter in tt2 that minifi (remove spaces,
comments, new line characters, etc) the html templates before compile it.

This is really useful in high traffic web sites to

1 Minifi the html templates
2 Compile it
3 Save it in cache

So that the next request only reads the cached version (already minified
and compiled).

Is there a solution for this already?



-- 
David Romero
--------------------------------------------------------
www.segurifact.com
Tu Factura Segura

www.xaandia.com | @xaandia <http://twitter.com/#!/xaandia>
Ideas frescas en tecnología web

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.