My application has a lot of javascript compressed in gzip format. This is necessary to fit into the flash space available. There does not seem to be any way to generate a header to the browser that tells it about the gzip encoding.
Does anyone know how to do this?
gzip web page content
Re: gzip web page content
yes
)
but, have you taken advantage of the normal(?) nb compile stream
which uses comphtml to build the htmldata.cpp file?
that is how i get my .js files compressed. using the default directory
structure for my project, i just put my *.js files into the /html
directory and they get compressed pretty well, e.g., one js file
is 64334 bytes long and it takes 18032 bytes of the compressed flash.

but, have you taken advantage of the normal(?) nb compile stream
which uses comphtml to build the htmldata.cpp file?
that is how i get my .js files compressed. using the default directory
structure for my project, i just put my *.js files into the /html
directory and they get compressed pretty well, e.g., one js file
is 64334 bytes long and it takes 18032 bytes of the compressed flash.
Re: gzip web page content
Gene, that seems like the better approach.
David, just out of curiosity, why wouldn't that method work in your case? Is the compression not as good?
David, just out of curiosity, why wouldn't that method work in your case? Is the compression not as good?