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>
Web page compression
-
- Posts: 82
- Joined: Sun May 11, 2008 2:17 pm
- Location: Los Angeles, CA
- Contact:
Re: Web page compression
i see what you are seeing with the eNoCompression, but my builds
show that my *.js files are being compressed. the nb code at
first glance looks like nothing should be getting done, but my
sample cases show something is. this topic came up previously in
the following thread:
http://forum.embeddedethernet.com/viewt ... ?f=5&t=620
so it looks like the nb-ers will have to pipe in.
enquiring minds want to know!
show that my *.js files are being compressed. the nb code at
first glance looks like nothing should be getting done, but my
sample cases show something is. this topic came up previously in
the following thread:
http://forum.embeddedethernet.com/viewt ... ?f=5&t=620
so it looks like the nb-ers will have to pipe in.
enquiring minds want to know!