You can remove most of those whitespaces (those between tags) with xslt und
some configurations within the sitemap.

This won't work for JavaScript or CSS as it's plain text.



-----Ursprüngliche Nachricht-----
Von: Luca Morandini [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 9. März 2002 12:54
An: Cocoon-users
Betreff: Compression in HTML Serializer ?


Folks,

I've been ruminating about speeding up my Cocoon app... and came up with the
conclusion that un-necessary white spaces in my app use more than the usual
20-30% of an HTML page.

Hence, I was wondering how to squeeze HTML of unnecessary spaces (and,
maybe, of Javascript comments ?) in the HTML Serializer (or in a
HTMLSerializer-derived serializer).

I know, web-servers can use compression schemes, but I'd like to give them
something slimmer anyway.

Does it make any sense ?
There's anyone who already thougth about it ?
Is someone interested in developing it ?

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to