Announcement

Collapse
No announcement yet.

(vB built in gzip) vs (ob_gzhandler in php.ini)

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

  • (vB built in gzip) vs (ob_gzhandler in php.ini)

    What are the differences between using the built in vB gzip options and using a global setting using ob_gzhandler.

    I have the following lines in my php.ini file. Will there be any conflict? Also, how do I tell if gzipped output is actually being sent?

    Code:
    safe_mode        =	off;
    output_buffering =	on;
    output_handler   =	"ob_gzhandler";
    
    [MySQL]
    mysql.allow_persistent =	on;
    mysql.max_persistent   =	-1;
    mysql.max_links        = 	-1;
    http://britishexpats.com/ - British expatriate community

  • #2
    The built in method won't have memory leaks like the current implementation of the ob_gzhandler does.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Just as we are talking about Gzip...
      will the build in Gzip of 2.0 work on vb2.0 pages that call an external php file with the include php tag right in a template ?

      I mean since the php file called and included is not from vb 2.0, I was wandering how will the gzip work or not on those pages.

      Comment


      • #4
        Now that ob_gzhandler works really well on PHP4.06+ with no memory leaks, will vBulletin support that?

        Right now, avatars won't show on any browser I've tried so far (I don't use I.E.), presumably because ob_gzhandler is trying to gzip that as well... or does...

        I really want to use it on my site. :/
        http://racing.kos.net
        http://www.rumour.com/

        Comment


        • #5
          You can use the ob_gzhandler in PHP. You will have to turn of GZIP handling in vBulletin though to prevent double compressing of the pages. vBulletin's gzip handling doesn't do images and anything but the 6+ versions of browsers don't handle compressed images very well.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API - Full / Mobile
          Vote for your favorite feature requests and the bugs you want to see fixed.

          Comment


          • #6
            Unfortunately, anything that isn't locallly stored on disks (attachments, avatars) gets recompressed and most web browsers don't seem to like that at all. But dangit, it's such a GREAT idea, and it's stable now. :/
            http://racing.kos.net
            http://www.rumour.com/

            Comment

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