News for hackers. Stuff that matters.
Re:Have a Flash SWF File? convert it to HTML5 with Google Sw... by ma2rten on Saturday November 12, 2011 @08:20AM (#3227786)
Are those sizes before or after gzip compression ?
Re:Have a Flash SWF File? convert it to HTML5 with Google Sw... by andybak on Saturday November 12, 2011 @08:45AM (#3227807)
Before. A quick test by just zipping them up gave:

html: 209kb swf: 205kb

Does anyone know whether 'on the wire' gzip would give similar benefits?

Re:Have a Flash SWF File? convert it to HTML5 with Google Sw... by icebraining on Saturday November 12, 2011 @02:18PM (#3228609)
Two notes:

1. Zip uses a different algorithm than gzip - the results are not necessarily equivalent.

2. If the HTML is static, which seems to be the case (since it's generated manually from the SWF), you can pre-gzip them instead of forcing the server to do it on demand - that'll reduce latency and CPU usage. Therefore "on the wire" is not really relevant.

Re:Have a Flash SWF File? convert it to HTML5 with Google Sw... by jevinskie on Saturday November 12, 2011 @04:29PM (#3228973)
Zip and gzip both use DEFLATE.