Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_deflate not working; am I missing a step?

Discussion in 'General Discussion' started by GoWilkes, Mar 16, 2014.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    397
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    I'm moving from an old server to a new one.

    In setting up the new server, one of my first steps was recompiling Apache with all of the usual modules, including mod_deflate.

    I'm getting ready to make the new server live, but I did a Gzip compression test, here:

    GIDZipTest: Web Page Compression (Deflate / Gzip) Test - GIDNetwork

    and it comes back as not compressed.

    I looked in /usr/local/apache/conf/httpd.conf, and there's no mention of "deflate". But there's no mention of it in the httpd.conf file on my old server, either, which IS compressed.

    Am I missing a step? Or is it not compressing because the domain is pinging the old server, and then the DNS records redirect it to the new server (making the old server a proxy)?
     
  2. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    278
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    When you login on the cPanel side for the site's account, do you have it enabled under the "Optimize Website" icon?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,617
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Here is a snippet from our documentation on Mod_Deflate:

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    68
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    if you want to set all domains to use mod_deflate add to Apache include

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice