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

[eluser]alexsancho[/eluser]
I don't know if i'm loosing anything here, but.. why not simply enable it on config and let CI do the job?

Code:
/*
|--------------------------------------------------------------------------
| Output Compression
|--------------------------------------------------------------------------
|
| Enables Gzip output compression for faster page loads.  When enabled,
| the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it.
|
| VERY IMPORTANT:  If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts.  For
| compression to work, nothing can be sent before the output buffer is called
| by the output class.  Do not "echo" any values with compression enabled.
|
*/
$config['compress_output'] = TRUE;


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