Welcome Guest, Not a member yet? Register   Sign In
Gzip in pages?
#4

[eluser]Lovecannon[/eluser]
Well apparently, the function I was using for GZIP wasn't working, so I just used PHPs build in ob_gzhandler, so just add this at the far beginning (Before any HTML) of any view you want GZIPped
Code:
<?php
ob_start("ob_gzhandler");
?>
or if your doing it directly from your controllers:
Code:
ob_start("ob_gzhandler");
Very, very, simple. I had made it difficult by trying to use my own GZIP compression functions, which apparently don't work. =\


Messages In This Thread
Gzip in pages? - by El Forum - 12-15-2007, 11:51 PM
Gzip in pages? - by El Forum - 12-16-2007, 01:49 AM
Gzip in pages? - by El Forum - 12-16-2007, 07:50 AM
Gzip in pages? - by El Forum - 12-16-2007, 11:21 AM
Gzip in pages? - by El Forum - 12-16-2007, 11:42 AM
Gzip in pages? - by El Forum - 12-16-2007, 11:46 AM
Gzip in pages? - by El Forum - 12-16-2007, 12:36 PM
Gzip in pages? - by El Forum - 12-16-2007, 01:51 PM
Gzip in pages? - by El Forum - 12-16-2007, 03:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB