Re: html and css code bloat

Tonico Strasser <[email protected]> Fri, 28 May 2004 19:21:30 +0200
Newsgroups gmane.comp.web.zope.plone.design,gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Chad Whitacre wrote:

> Hey all,
> 
> Maybe this has come up before, but there is a potentially significant 
> speed boost to be had by stripping out comments and unnecessary 
> whitespace from our html and css on page generation. Specifically, it 
> looks like our code could be trimmed by about one-third. Here's the 
> numbers for plone.org's homepage, and plone.css:
> 
>         original   trimmed    bloat    % bloat
>   -------------------------------------------------
>   html    37k        24k       13k       35
>   css     24k        19k        8k       33
> 

You forgot the JavaScript: 24,7 KB (25.346 Bytes) plone_javascripts.js 
from Plone.org.

> Are there any Zope or python products for this?

Another product would potentially bloat the whole thing a little more :-)

Tonico



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click