Page 1 of 2
Compression
Posted: Fri Jun 06, 2014 8:28 am
by Delpfine
My website (
http://www.delpfinewelchdesigns.com) is coming up very slowly. I did a page speed test using Google developer tools. One of the suggestions was to compress resources with gzip or deflate to reduce the number of bytes sent over the network. For Apache, they recommend using mod_deflate.
I do have compression enabled in the AlegroCart admin panel. But, I don't know if that has anything to do with the other.
What do you recommend doing?
Thanks,
Delpfine
Re: Compression
Posted: Sat Jun 07, 2014 6:18 am
by leo
You should change host. Netfirms is not reliable and very slow in some cases.
Re: Compression
Posted: Sat Jun 07, 2014 6:27 am
by Delpfine
My host isn't Netfirms. It's StartLogic.
Re: Compression
Posted: Sat Jun 07, 2014 7:19 am
by leo
My opinion is the same.
If you really want to speed up your site, find a host with SSD drives.
Re: Compression
Posted: Sat Jun 07, 2014 3:06 pm
by Delpfine
OK. I'll look into that. In the meantime, could you answer my question about compression? Thanks.
Re: Compression
Posted: Mon Jun 09, 2014 10:51 am
by leo
You have to enable mod_deflate on your server.
Do you have cpanel?
Re: Compression
Posted: Mon Jun 09, 2014 1:21 pm
by Delpfine
It has a control panel, but not cpanel. I don't see that option on it. I guess I'd need to contact the hosting company.
Re: Compression
Posted: Mon Jun 09, 2014 11:25 pm
by leo
Open your .htaccess file and add this:
Code: Select all
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</IfModule>
Test it on
Code: Select all
http://www.whatsmyip.org/http-compression-test/
Re: Compression
Posted: Tue Jun 10, 2014 9:03 am
by Delpfine
I added the code to .htaccess, but the test is showing that it is still not compressed.
Re: Compression
Posted: Tue Jun 10, 2014 9:39 am
by Delpfine
I contacted the hosting company. The mod_deflate module is installed on Apache. They are handing my ticket over to a technical specialist and will be getting back to me within 24 hours.