View Full Version : why swf is big ???
hi
I think that Laszo is a great solution but I have a doubt about. I have just try "Laszlo in Ten Minutes" Hello world sample end .... the final swf file is 224.kb, why it's so big ? why laszlo makes file soo big ?
all the best
antun
04-06-2004, 07:47 AM
The base size is around 80k because a bunch of libraries have to be included by default. However, the reason you're probably seeing such a large sized Hello World app is because your browser doesn't support gzip encoding, so the app appears much larger than normal.
What browser/OS are you using?
-Antun
thanks for your fast reply
I use win2000/IE 6. I have just saw all your Sample applications and they are all big.
is there the possibility to make swf more little into Laszlo setup ?
is there the possibility to inject only data into an empty swf like variables, array, namedArray dataset? because I think that 80 kb is still big.
how can I implement my browser with gzip encoding ?
thanks
Fly
antun
04-06-2004, 08:30 AM
I use win2000/IE 6. I have just saw all your Sample applications and they are all big.
That setup should not have any problems with gzip compression. Are you using some kind of proxy? Something like Proxomitron perhaps? If you go to:
http://www.laszlosystems.com/lps/examples/animation.lzx
... and look at the very bottom of the page, do you see:
a)Application Details: 164K (168,326 bytes); encoding: gzip
... or ...
b)Application Details: 475K (486,702 bytes); encoding:
The application size that is shown above is artificially high because your browser doesn't support the gzip encoding. Most browsers support the gzip encoding; the application that is served to them will be 40%-60% smaller. See the Deployer's Guide for more information.
If you see b) then your browser doesn't support gzip encoding. If you are using a proxy, you can go to:
Tools>Internet Options...>Advanced Tab
Then under HTTP 1.1 Settings, make sure that both checkboxes are checked.
-Antun
antun
04-06-2004, 08:31 AM
is there the possibility to inject only data into an empty swf like variables, array, namedArray dataset? because I think that 80 kb is still big.
There is no way to do this right now.
-Antun
antun
04-06-2004, 09:04 AM
I'm curious - did that fix the problem? Did you have a proxy running?
-Antun
Originally posted by fly
thanks !!!
yes, but the problem was my Firewall (norton) :)
have a nice day
Fly
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.