Creative Commons License

Extra Applications

php4/GzOutput.class
 
3556demo link [ code ]2007-01-08 19:30:20
Simple and fast class to create a gz compressed output without ob_gzhandler using browser cache or forcing downloads.
This class allows developers to create any kind of output (text/plain, text/html with or without defined charset, css, javascript, others).

[2006-12-17]
Simple and fast class to create a gz compressed output without ob_gzhandler.

[2006-12-22] - Update V0.2
Better cache managment tested with IE5, 5.5, 6, 7, Opera 8, 8.5, 9, FF 1, 1.5, 2 and should work with every other browser too.
Now You can test this class directly with demo page link.

[2007-01-08] - Update V0.4
Works on servers that have not zlib extension or gzencde function.
New GzOutput::createFromFile statico method to add quickly js or css using external dedicated bootstrap files (please read comments to know more)