[En-Nut-Discussion] Help with Web Pages

Henrik Maier hmlists at focus-sw.com
Thu Jan 19 23:05:04 CET 2006


Steve,

for another non-Nut/OS related embedded HTTP project I did use a 
htmltidy utility to remove all whitespace from the pages. This reduced
the size of the page binary by 10% to 15%.

In addition we gzipped the pages before embeddeding them into the ROM 
and served them as compressed HTML. To do this you have to add a new 
content type to httpd.c for "html.gz" and present the web client with an 
additional header line "Content-Encoding: gzip".

I am sure this won't be hard to include in the Nut/OS http module.

Henrik
http://www.proconx.com


Steve Kelly wrote:
> 
> I was hoping someone could help me out with some example code or just
> good pointers for my problem.
> I have my ethernut up and running. It is connected an existing product
> we built and now want to web enable.
> I have my rs485 interface up and running, as well as SMTP email all
> working perfect.
> I now have my web pages that I tried to load today but i used the
> urom.exe to create the urom.c etc but unfortunately it is just to big to
> fit in.




More information about the En-Nut-Discussion mailing list