Difference between #2 and #3 of
Enabling Gzip

Revision #3 has been created by pestaa on Jul 10, 2009, 10:43:44 PM with the memo:

corrections
« previous (#2) next (#4) »

Changes

Title unchanged

Enabling Gzip

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

Adding httpHTTP compression to your application could never have been easier! Just addinsert the following two lines to your configuration array, and the PHP will do the rest.


```php
'onBeginRequest'=>create_function('$event', 'return ob_start("ob_gzhandler");'),
'onEndRequest'=>create_function('$event', 'return ob_end_flush();'),
[...]
6 1
13 followers
Viewed: 38 931 times
Version: 1.1
Category: Tutorials
Tags:
Written by: pestaa
Last updated by: Yang He
Created on: Jul 10, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history