Announcement

Collapse
No announcement yet.

Do you use gZip? What performance advantage?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rawnet
    replied
    ALL WORKING!!

    According to the link above, my Forums URL is now Gzipping rather nicely. Shall try and get the rest of my site (powered by vbPortal) to start using gZip as well.

    Many thanks,

    Ross

    Leave a comment:


  • rawnet
    replied
    Hokay, that's useful - looks like I'm still not gzipping.

    Shall look into it further - hunting for a DLL for Windows and trying to learn more about the wonderful world of gzip.

    Cheers,

    Ross

    Leave a comment:


  • George L
    replied
    Originally posted by rawnet
    Hi,

    Seems to be some weirdness on Windows 2000 and gZip. Have followed the advice here :

    http://www.vbulletin.com/forum/showt...&postid=253155

    How do I actually check that the pages are being gZipped though?
    check at http://leknor.com/code/gziped.php

    Leave a comment:


  • rawnet
    replied
    Hi,

    Seems to be some weirdness on Windows 2000 and gZip. Have followed the advice here :

    http://www.vbulletin.com/forum/showt...&postid=253155

    How do I actually check that the pages are being gZipped though?

    Leave a comment:


  • Fusion
    replied
    What level of compression are you attempting to use? It almost looks like your web-server isn't able to interpret the compressed stream and displays it as-is.

    Leave a comment:


  • rawnet
    replied
    Hi Fusion,

    Thanks for that - have downloaded the DLL as wasn't included (can be found within the ZIP at http://www.php.net/do_download.php?d....1.1-Win32.zip for anyone who's interested in future), and set up the directory as stated.

    But when I activate it, I see lots of gibberesh on the frontend, along the lines of :

    ‹xÍYisÚHþlWù?ôjjc»Jœ|e–`|ìã’LöKª h,©•–&Sûß÷y»ÈŽÝšu¹¬>ßûl7gIà¿ÙÛmÎã»ÓüK¡ÀBÉ\îΣU¡bV(è½@$œÍ’$*ˆÏ©7w¬;


    UM - HEEEEEELP!!! What am I missing? Is there anything else I need to activate?

    Thanks so much for the continued help guys,

    Cheers for now,

    Ross

    Leave a comment:


  • Fusion
    replied
    Rawnet, check your php.ini. The following directive has to be properly set for extensions to work.
    Code:
    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = c:/php/extensions
    In short, if this directive is set to ./ you need to copy the dlls you need to the same dir as PHP.EXE resides in. Personally I suggest you use a setting as described above, assuming your PHP-installation went into c:\php.
    Last edited by Fusion; Sat 23 Feb '02, 10:31am.

    Leave a comment:


  • rawnet
    replied
    ARGH!! Help!!

    Hi Fusion,

    Please help!! Have uncommented that line, and now getting this message pop up on my server when someone tries to go to a PHP page :

    Unable to laod dynamic library "php_zlib.dll"

    Where can I get the DLL from?!?!?

    Panic panic panic!!!!

    Leave a comment:


  • tubedogg
    replied
    Yes.

    Leave a comment:


  • Joe Gronlund
    replied
    big advantage but i always had mine set to 8, i should set it to 1?

    Leave a comment:


  • tubedogg
    replied
    Anything above 1 provides the same or very similar benefits as level 1 while increasing the server load (in some cases dramatically) which is why you should not set it above 1.

    Leave a comment:


  • MiF
    replied
    As to the compression level. I found that compression level up to 7 still provides significant compression savings. Level 8 and 9 still provide savings but not anything significant.

    Leave a comment:


  • MiF
    replied
    How exactly are you checking the size of your pages?

    The way compressed pages are served is this:

    The server (vBulletin in this case) generates the page.
    The server checks to see if your browser supports compression.

    If your broswer supports compression then
    The server compresses the generated page.
    The server tells your browser that it's going to send compressed page

    The server sends the page.
    The web browser decompresses the page and displays it to you.

    The end result is that the page is the same size as it is on the server. However it took less time to transmit it and used less bandwidth because it was compressed.

    Leave a comment:


  • Fusion
    replied
    There is also an entry at the lower half of the file under Windows-extensions. Uncomment the line ;extension=php_zlib.dll. Only then will zlib-compression actually be used. No reboot required, it's used the next time PHP is used. See phpinfo() to see that it is actually loaded, you'll see a new zlib-section. If zlib doesn't help you, there's always the ZendOptimizer aswell.
    Last edited by Fusion; Sat 23 Feb '02, 7:40am.

    Leave a comment:


  • rawnet
    replied
    Hi Fusion,

    Yup, think I've found it in php.ini. Is currently :

    ; Transparent output compression using the zlib library
    ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; to be used for compression (default is 4KB)
    zlib.output_compression = Off

    Have changed that to "= on" but doesn't seem to make much difference - file size still the same. Shall try rebotting now,

    Cheers,

    Ross

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X