Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Location
    N.Y.
    Posts
    159
    Plugin Contributions
    0

    Default Host changing....compression issues/question

    I'm moving from the reprehensible, horrible host known as site5, and to a new hosting company....yeah I had to bash them a little because of their service....anyway, all hosts I've been to either had gzip there, or installed it upon my request. This new host I'm looking into says they don't have it, and they are not really interested in it...hopefully I can change their mind since they didn't give me a hard no.

    Their response to me was they don't have mod_gzip but "You can use php's own compression capabilities." I have no idea what that is. So my question is this; Are these php compression capabilities as good as gzip or better? Are there draw backs? Is it as easy to implement across an entire site?

    Before the responses, yes I know I can probably hunt for another host, but I'd like an answer to this question in particular.

    Thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Host changing....compression issues/question

    If your host doesn't have gzip compression on by default or doesn't have it available as a built-in option, you can ask Zen Cart to do it itself by setting GZip Compression to 1 under Admin->Configuration->GZip Compression.

    This causes PHP to use the ob_start, ob_flush, etc infrastructure to do output buffering.
    http://www.php.net/manual/en/ref.outcontrol.php


    You *might* also succeed in enabling it by setting an output_buffering directive in your webroot .htaccess file.
    Code:
    php_value output_buffering On
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2005
    Location
    N.Y.
    Posts
    159
    Plugin Contributions
    0

    Default Re: Host changing....compression issues/question

    Quote Originally Posted by DrByte View Post
    you can ask Zen Cart to do it itself by setting GZip Compression to 1 under Admin->Configuration->GZip Compression.
    1/ Maybe a dumb question, but would that enable it site wide, or just for zen?

    2/ If I read the link you pointed to me correctly, all web compression basically leads back to gzip through calling something. So do I still have gzip function through php? If that is the case, why did the host say "gzip isn't something that we install any longer" and "we no longer install mod_gzip,"?

    Or am I just confusing something?

    Thanks.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Host changing....compression issues/question

    1. Only for Zen Cart.

    2. Probably only works within PHP.

    It's odd that a host would "no longer" install gzip support. It's not exactly obsolete...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2005
    Location
    N.Y.
    Posts
    159
    Plugin Contributions
    0

    Default Re: Host changing....compression issues/question

    Thanks for your help. I also found out...correct me if I'm wrong on my statements, gzip seems to be available to servers regardless, it is just a matter of how you call it. Through mod_gzip, or through the php function which I believe is what you were stating with ob_start and ob_flush. Now my understanding is through the php function it is less efficient than through mod_gzip(I don't know what the efficiency factor is based on from where I read that. Speed, compression ratio?). However I believe I have proved to myself about the inefficiency with my own unscientific tests of speed with a few pages off of my current site against sites I have found at this potential host with compression running of comparable/"relative" size (basically 10,000 bytes difference either way), my site always performed an average of 5-15 seconds faster through tests at websiteoptimization.com at all of the potential connection speeds.

    So I guess my question is, is the php compression less efficient?

    Thanks.

 

 

Similar Threads

  1. Some Issues After Moving To New Host & Upgrading
    By Patience in forum General Questions
    Replies: 10
    Last Post: 9 Jul 2016, 02:59 PM
  2. Issues with new host or install?
    By LordGemz in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 17 May 2010, 08:33 AM
  3. To host ZC or not to host ZC, that is the question?
    By azdbroker in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 20 Apr 2008, 11:10 AM
  4. EMAIL ISSUES after host installed Spam Control - Please help
    By scoutmom64 in forum General Questions
    Replies: 2
    Last Post: 15 Oct 2007, 08:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg