Is there something similar to this in the rhtml templates?
http://smarty.php.net/manual/en/language.function.strip.php
The reason I ask is because I render some templates in my RJS files. The
less white space there is, the smaller the size of javascript the client
has to download.
Thanks for your help.
On 24 Aug 2006, at 19:45, Ben J. wrote:
Is there something similar to this in the rhtml templates?
http://smarty.php.net/manual/en/language.function.strip.php
The reason I ask is because I render some templates in my RJS
files. The
less white space there is, the smaller the size of javascript the
client
has to download.
Why not let your webserver handle this with mod_deflate? Whitespace
compresses very well and you don’t have to sacrifice readability of
your html.
Best regards
Peter De Berdt