I've snipped the following text from the readme.txt file in the 4.2.3 PGV distribution. (Note, I actually found this in the latest developmental webtrees release and backtracked it to current PGV.)
I have never heard of this. Is it practiced by any of you, with any success? Is it a bit of outmoded arcania?
Pages generated by PhpGedView can be large and use up a lot of bandwidth.
Compression of the data between the server and browser using GZip
compression can compress the bandwidth by up to 90% (usually 80% - 90% for
PhpGedView that were tested). Add the following 2 lines to your php.ini file:
zlib.output_compression On
zlib.output_compression_level 5
If you have no access to the php.ini file and you are using Apache, create a
blank file named .htaccess (including the dot) and add the following lines to
that file (or add them to an existing .htaccess file and upload the file to
your PhpGedView directory.
php_flag zlib.output_compression On
php_value zlib.output_compression_level 5
Some hosts do not allow adding this through .htaccess files, but they may
allow you to create a partial php.ini file in your phpGedView directory. To
this file you would add the same two lines from the php.ini file above:
zlib.output_compression On
zlib.output_compression_level 5
Note: If your host is using mod_gzip or an other compression method, using
this technique can cause problems. Compression will have no effect on
browsers that do not support it. You can test the compression at
http://leknor.com/code/gziped.ph
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Grr. I guess there were embedded code tags in there. Let me just try a clean paste here. Also - note that the referenced website at the bottom is defunct.
zlib.output_compression_level 5
Note: If your host is using mod_gzip or an other compression method, using
this technique can cause problems. Compression will have no effect on
browsers that do not support it. You can test the compression at http://leknor.com/code/gziped.ph
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Victor
Needless to say, this is not a new feature and most of us use it. http://www.gidnetwork.com/tools/gzip-test.php
Results for: http://www.MyArnolds.com
Web page compressed? Yes
Compression type? gzip
Size, Markup (bytes) 56,726
Size, Compressed (bytes) 12,333
Compression % 78.3
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Something else which helps with 'performance' is running one of the PHP accelerators. I've used eaccelerator for years now, and that cuts processing time considerably.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've snipped the following text from the readme.txt file in the 4.2.3 PGV distribution. (Note, I actually found this in the latest developmental webtrees release and backtracked it to current PGV.)
I have never heard of this. Is it practiced by any of you, with any success? Is it a bit of outmoded arcania?
Grr. I guess there were embedded code tags in there. Let me just try a clean paste here. Also - note that the referenced website at the bottom is defunct.
zlib.output_compression_level 5
Note: If your host is using mod_gzip or an other compression method, using
this technique can cause problems. Compression will have no effect on
browsers that do not support it. You can test the compression at
http://leknor.com/code/gziped.ph
Victor
Needless to say, this is not a new feature and most of us use it.
http://www.gidnetwork.com/tools/gzip-test.php
Results for: http://www.MyArnolds.com
Web page compressed? Yes
Compression type? gzip
Size, Markup (bytes) 56,726
Size, Compressed (bytes) 12,333
Compression % 78.3
-Stephen
Stephen, thanks for that link. My site is not compressed, so I will give this a try.
Something else which helps with 'performance' is running one of the PHP accelerators. I've used eaccelerator for years now, and that cuts processing time considerably.