AlegroCart open source E-commerce
Web hosting by Host1Plus

Compression

General Support for technical Issues relating to AlegroCart

Compression

Postby 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
Delpfine
 
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Compression

Postby leo » Sat Jun 07, 2014 6:18 am

You should change host. Netfirms is not reliable and very slow in some cases.
User avatar
leo
admin
 
Posts: 4215
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Postby Delpfine » Sat Jun 07, 2014 6:27 am

My host isn't Netfirms. It's StartLogic.
Delpfine
 
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Compression

Postby 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.
User avatar
leo
admin
 
Posts: 4215
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Postby 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.
Delpfine
 
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Compression

Postby leo » Mon Jun 09, 2014 10:51 am

You have to enable mod_deflate on your server.
Do you have cpanel?
User avatar
leo
admin
 
Posts: 4215
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Postby 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.
Delpfine
 
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Compression

Postby 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/
User avatar
leo
admin
 
Posts: 4215
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Compression

Postby 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

Re: Compression

Postby 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.
Delpfine
 
Posts: 141
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Next

Return to General Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron