Revision history for Mod008fCompression
Revision [23247]
Last edited on 2016-05-20 07:38:47 by JavaWoman [Replaces old-style internal links with new pipe-split links.]Additions:
**[[http://www.wikini.net/wakka.php?wiki=PatrickPaul | PatrickPaul]]**
Deletions:
Revision [19266]
Edited on 2008-01-28 00:14:45 by JavaWoman [Modified links pointing to docs server]No Differences
Additions:
==== Wikka Mod 008 ====
Type: Feature Addition
----
===Credit:===
**[[http://www.wikini.net/wakka.php?wiki=PatrickPaul PatrickPaul]]**
http://www.wikini.net/
----
Implemented gzip encoding.
File modified: /wakka.php
%%(php)
// create wakka object
$wakka = new Wakka($wakkaConfig);
function compress_output($output)
{
return gzencode($output);
}
// Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING
if (strstr ($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') )
{
// Start output buffering, and register compress_output() (see
// below)
ob_start ("compress_output");
// Tell the browser the content is compressed with gzip
header ("Content-Encoding: gzip");
}
%%
----
Why not use simple
ob_start("ob_gzhandler");
instead?
Type: Feature Addition
----
===Credit:===
**[[http://www.wikini.net/wakka.php?wiki=PatrickPaul PatrickPaul]]**
http://www.wikini.net/
----
Implemented gzip encoding.
File modified: /wakka.php
%%(php)
// create wakka object
$wakka = new Wakka($wakkaConfig);
function compress_output($output)
{
return gzencode($output);
}
// Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING
if (strstr ($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') )
{
// Start output buffering, and register compress_output() (see
// below)
ob_start ("compress_output");
// Tell the browser the content is compressed with gzip
header ("Content-Encoding: gzip");
}
%%
----
Why not use simple
ob_start("ob_gzhandler");
instead?
Deletions:
Type: Feature Addition
----
===Credit:===
**WikiNi (PatrickPaul)**
----
Implemented gzip encoding.
File modified: /wakka.php
%%(php)
// create wakka object
$wakka = new Wakka($wakkaConfig);
function compress_output($output)
{
return gzencode($output);
}
// Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING
if (strstr ($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') )
{
// Start output buffering, and register compress_output() (see
// below)
ob_start ("compress_output");
// Tell the browser the content is compressed with gzip
header ("Content-Encoding: gzip");
}
%%
----
Why not use simple
ob_start("ob_gzhandler");
instead?
Additions:
==== Wikka Mod 008 ====
Type: Feature Addition
----
===Credit:===
**WikiNi (PatrickPaul)**
----
Implemented gzip encoding.
File modified: /wakka.php
%%(php)
// create wakka object
$wakka = new Wakka($wakkaConfig);
function compress_output($output)
{
return gzencode($output);
}
// Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING
if (strstr ($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') )
{
// Start output buffering, and register compress_output() (see
// below)
ob_start ("compress_output");
// Tell the browser the content is compressed with gzip
header ("Content-Encoding: gzip");
}
%%
----
Why not use simple
ob_start("ob_gzhandler");
instead?
Type: Feature Addition
----
===Credit:===
**WikiNi (PatrickPaul)**
----
Implemented gzip encoding.
File modified: /wakka.php
%%(php)
// create wakka object
$wakka = new Wakka($wakkaConfig);
function compress_output($output)
{
return gzencode($output);
}
// Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING
if (strstr ($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') )
{
// Start output buffering, and register compress_output() (see
// below)
ob_start ("compress_output");
// Tell the browser the content is compressed with gzip
header ("Content-Encoding: gzip");
}
%%
----
Why not use simple
ob_start("ob_gzhandler");
instead?
Deletions:
Type: Feature Addition
----
===Credit:===
** ""WikiNi ?"" **
----
Implemented gzip encoding.
File modified: /wakka.php
%%(php)
// create wakka object
$wakka = new Wakka($wakkaConfig);
function compress_output($output)
{
return gzencode($output);
}
// Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING
if (strstr ($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') && function_exists('gzencode') )
{
// Start output buffering, and register compress_output() (see
// below)
ob_start ("compress_output");
// Tell the browser the content is compressed with gzip
header ("Content-Encoding: gzip");
}
%%
----
Why not use simple
ob_start("ob_gzhandler");
instead?
Additions:
Why not use simple
ob_start("ob_gzhandler");
instead?
-- RomanIvanov,
ob_start("ob_gzhandler");
instead?
-- RomanIvanov,