1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compression?

Discussion in 'General Discussion' started by virtualreality, May 15, 2010.

  1. virtualreality

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    On search engines, I've seen most tech guys say for optimizing websites via cPanel, one should use the Option 3: Compress MIME Types, not the Option 2: Compress All, because "...compressing all website content can make webpage images show irregularly..."

    Is the Option 3 really good or better?

    After selecting and using the Option 3: Compress MIME Types, I've found very often there are some images that load very slowly and finally can not show up on some of my webpages that have more than 10 images.

    Previously, I used the Option 2: Compress All including images, js and all others---I saw almost all images were loading normally/faster and all images were able to show up on my webpages finally.

    What do you think?

    Do I need to re-use the Option 2: Compress All. Any big potential disadvantage for using the "Compress All" option?

    Other questions: I have already enabled Zlib compression via root to Apache files, can I enable the cPanel Optimize Website features that are based on Gzip compression, at the same time? Any conflicts between Zlib and Gzip?

    The two compression methods have their own disadvantages in several situations. If using only one of the two compression methods, generally speaking, which compression is better, Zlib or Gzip? (I have tested using the two compression methods together, and I've found there are almost no differences as for the website performances, compared with using only either Zlib compression or Gzip compression. Maybe there are some differences but I've not found yet)


    Thank you very much for any advice/tip!


     
    #1 virtualreality, May 15, 2010
    Last edited: May 15, 2010
  2. virtualreality

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Any response and idea please?

    Since the current eAccelerator version if enabled on cPanel 25 has caused high server load and spiked ram usage, the Gzip compression or Zlib compression is one of the available excellent ways to reduce the server ram usage and fasten the swebpages' loading.

    PS: Why does the current eAccelerator version added to cPanel 25 cause high server load and high ram usage??? I used the previous version of eAccelerator on cPanel 24, found the server load was not so high and the ram usage was not so much, and the previous eAccelerator did accelerate the webapges loading to an obvious extent.
     
  3. virtualreality

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Hi cPanel Friends,

    How do you use compression, if you use one?

    Thank you very much!
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    12,129
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    Pennsylvania
    I think you answered your own question.
    Images can be compressed some, but text/code can be compressed much more. I've seen problems attempting to dowload large (compressed) files if Compress All was checked.


    Sounds like you've answered your own question again with proper testing and have results to work with.

    Here's some more reading for you that might be useful:

    zlib is a software library used for data compression.
    gzip is a software application used for file compression
     
  5. madaboutlinux

    madaboutlinux Active Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
  6. virtualreality

    Joined:
    Jan 18, 2008
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    6
    Hi Infopro and madaboutlinux,

    Thank you very much for you helpful response!
     

Share This Page