Web page compression
Posted: Sun Mar 28, 2010 7:29 pm
I notice my .css and .js files are not getting compressed via the comphtml tool. Has anyone experimented with enabling compression for css and javascript files? This would save me quite a bit of space, and probably allow me to start using protoype, etc.
Excerpt from htmldata.cpp showing no compression.
<snip>
{"ajaxBanner.htm",FilePointer0,5,eHuffmanHtml,eTypeHtml},
{"site.css",FilePointer17,4767,eNoCompression,eTypeCSS},
{"site.js",FilePointer18,7202,eNoCompression,eTypeOther},
{"index.htm",FilePointer19,3468,eHuffmanHtml,eTypeHtml},
<snip>
Excerpt from htmldata.cpp showing no compression.
<snip>
{"ajaxBanner.htm",FilePointer0,5,eHuffmanHtml,eTypeHtml},
{"site.css",FilePointer17,4767,eNoCompression,eTypeCSS},
{"site.js",FilePointer18,7202,eNoCompression,eTypeOther},
{"index.htm",FilePointer19,3468,eHuffmanHtml,eTypeHtml},
<snip>