Compression

General Support for technical Issues relating to AlegroCart
Delpfine
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX
Contact:

Compression

Post by Delpfine » Fri Jun 06, 2014 8:28 am

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

User avatar
leo
admin
Posts: 4263
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Post by leo » Sat Jun 07, 2014 6:18 am

You should change host. Netfirms is not reliable and very slow in some cases.

Delpfine
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX
Contact:

Re: Compression

Post by Delpfine » Sat Jun 07, 2014 6:27 am

My host isn't Netfirms. It's StartLogic.

User avatar
leo
admin
Posts: 4263
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Post by leo » Sat Jun 07, 2014 7:19 am

My opinion is the same.
If you really want to speed up your site, find a host with SSD drives.

Delpfine
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX
Contact:

Re: Compression

Post by Delpfine » Sat Jun 07, 2014 3:06 pm

OK. I'll look into that. In the meantime, could you answer my question about compression? Thanks.

User avatar
leo
admin
Posts: 4263
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Post by leo » Mon Jun 09, 2014 10:51 am

You have to enable mod_deflate on your server.
Do you have cpanel?

Delpfine
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX
Contact:

Re: Compression

Post by Delpfine » Mon Jun 09, 2014 1:21 pm

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.

User avatar
leo
admin
Posts: 4263
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Post by leo » Mon Jun 09, 2014 11:25 pm

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/

Delpfine
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX
Contact:

Re: Compression

Post by Delpfine » Tue Jun 10, 2014 9:03 am

I added the code to .htaccess, but the test is showing that it is still not compressed.

Delpfine
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX
Contact:

Re: Compression

Post by Delpfine » Tue Jun 10, 2014 9:39 am

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.

Post Reply