Enable GZip Compression in CPANEL

Discussion regarding Joomla! Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
kmf165
Joomla! Apprentice
Joomla! Apprentice
Posts: 48
Joined: Tue Jun 13, 2006 8:47 am

Enable GZip Compression in CPANEL

Post by kmf165 » Tue Jun 17, 2008 9:47 am

Hi all,

Sorry if this have been discussed earlier but I cant find any.

I get a hosting from exabytes.com and uploaded my website. Installed few components like docman, JACL, JCE. SEF and etc.

The last step I am try to do is to improve the website performance. So I enable the GZIP in configuration. But ends up my front page what blank. Yes...nothing.

So I search around but cannot find any idea how to check and enable GZIP module using my cpanel hosting. Can someone please guide me how?


Thanks a lot.
KMF

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Enable GZip Compression in CPANEL

Post by dhuelsmann » Tue Jun 17, 2008 1:14 pm

Email your host and find out if GZIP is enabled. If not ask them to enable it for you.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

kmf165
Joomla! Apprentice
Joomla! Apprentice
Posts: 48
Joined: Tue Jun 13, 2006 8:47 am

Re: Enable GZip Compression in CPANEL

Post by kmf165 » Wed Jun 18, 2008 1:18 am

:-\ I wrote to them and read the reply below.
I regret to inform you that the Mod_Gzip is not supported by cPanel hosting. Hence, we do not custom install the module to the apache to prevent the apache from breaking.
Then I shot them another mail
I understand what you trying to tell. But dont you think GZIP or something similar is a preferred module to enhance web page loading? Or do you have any resolution for this?
Here is latest reply from them
Due to the Mod_Gzip is not supported by cPanel, we are not recommended to install the third party component. So that the custom installation component will not crash with the cPanel system setting.

FYI, we are using suPHP for this Linux hosting server which you may aware for your PHP application development.

So, what alternative I can do now? But I really sad about this issue. It is not cheap hosting yet cant make this feature as a standard in hosting. :'(

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Enable GZip Compression in CPANEL

Post by dhuelsmann » Wed Jun 18, 2008 3:11 am

It is standard in most hosting packages - I suggest you switch hosts.
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

kmf165
Joomla! Apprentice
Joomla! Apprentice
Posts: 48
Joined: Tue Jun 13, 2006 8:47 am

Re: Enable GZip Compression in CPANEL

Post by kmf165 » Wed Jun 18, 2008 6:23 am

Hi, thanks for reply. ;)

Know what? I reply them with a mail ask for money back guarantee, and immediately they responses and saying that GZIP no longer in Apache 2, instead will replace by mod_deflate. They will compile and set up for me... :D ...what can I say...

Anyway, thanks for replies and hope this issue solve soon as possible...

Regards;
Koo

adelrami
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Mon Apr 12, 2010 10:16 am

Re: Enable GZip Compression in CPANEL

Post by adelrami » Mon Feb 21, 2011 10:40 am

I had the same problem, switched to http://www.htvhosting.com and had it fixed,
its enabled there with so many additional functions.

mkprogramming
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Jul 12, 2013 6:23 am
Contact:

Re: Enable GZip Compression in CPANEL

Post by mkprogramming » Fri Jul 12, 2013 6:35 am

If you have access you could try this:

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

Goes in .htaccess on your apache server / webhosting
Please read the Forum rules regarding signatures: http://forum.joomla.org/viewtopic.php?t=65


Locked

Return to “Performance - 1.0.x”