Hello, I use the following PHP code:
<?php
ob_start("ob_gzhandler");
require_once('MyFile.js');
?>
you just need to call the file like:
This is very handy because if the browser doesn't support gzip, then it will
deliver the file without compression.
There can be a more optimized way of doing this, by gziping the file
beforehand and delivering it only if the browser supports gzip, but I'm a
bit of a lazy bum.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Gzip-tp6094721p6126549.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel