Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default WHat does Optimize Website do?

    We have enabled mod_deflate and gzip testing says our website is gzipped enabled. What exactly does Optimize Website do insie cpanel? This section says "Disabled". Any thoughts?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    We have enabled mod_deflate and gzip testing says our website is gzipped enabled. What exactly does Optimize Website do insie cpanel? This section says "Disabled". Any thoughts?
    Optimize Website just makes sure everything is gzipped when it is sent from the server to the client web browser. Manual edits to .htaccess can be used to achieve the same functionality when mod_deflate is enabled.

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    I was under the impression that mod_deflate (apache 2) was the new gzip (apache 1.3). Even without using Optimize Website inside cPanel, gzip testing says our websites are zipped and it's with mod_deflate only. Any ideas why?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    I was under the impression that mod_deflate (apache 2) was the new gzip (apache 1.3). Even without using Optimize Website inside cPanel, gzip testing says our websites are zipped and it's with mod_deflate only. Any ideas why?
    There could be many reasons, but many trace back to .htaccess files. If there's a .htaccess file anywhere in the directory hierarchy for that file that instructs Apache to use mod_gzip/mod_deflate then that would explain the functionality.

    Some PHP scripts will also start serving content in this manner once mod_gzip/mod_deflate is enabled.

  5. #5
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    Sounds like if websites are passed for being gzipped, then don't even mess with Cpanel >> Optimize Website? Does that sound right?

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    Sounds like if websites are passed for being gzipped, then don't even mess with Cpanel >> Optimize Website? Does that sound right?
    Doing so would be redundant (thus, not needed) in your specific scenario.

  7. #7
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    Default

    I am also looking for what that setting does. It's mainly out of curiosity. I can't find where it adds any setting. I looked in the site's .htaccess files and in apache conf files and there's no reference for that setting, is there somebody that knows what it does. I can disable it and manually set it on the .htaccess file, but most cpanel settings can be manually modified as well, so I wonder about this one.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    As far as I'm aware when I tested it last a week or so ago, when you enable to Optimize Website in cPanel, it places the .htaccess at /home/username/.htaccess location for the mod_deflate settings not in /home/username/public_html/.htaccess location. You would want to check in /home/username/.htaccess for those settings.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Optimize Website works only for main domain
    By manima in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-09-2011, 01:56 AM
  2. optimize website .. why the htaccess is not in the public_html
    By linux juggler in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-03-2010, 02:25 PM
  3. Optimize Website Option on Cpanel/alternative
    By Seomul in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-09-2010, 06:48 PM
  4. Optimize website globally?
    By gavint in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-07-2009, 09:06 PM
  5. cpanel/whm optimize website issue
    By edenent in forum Optimization
    Replies: 3
    Last Post: 07-06-2009, 12:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube