Posted On:speedup Archives - OpenCart Solution

standard

How to Speed Up OpenCart Website ?

June 18, 2015 - By 

Free Tips on one of major problem in OpenCart is to load fast so here we have described how you can speed up OpenCart Website easily with few steps.

If you have read some blogs already to speed up OpenCart eCommerce Website then i think you might have learn what is the main problem with current opencart Script. So here are the main key things that need to be fixed. Before you start please do backup of your files which you will edit so that you might not be in trouble late on. But this is tested steps which we have mentioned here.

Hosting Plays very important role and for optimised opencart Server You should check Best OpenCart hosting Solutions provider.

 

Step1 : Remove Product Counts from category name and top menu bar

For above thing you can use this module.You can try Free OpenCart Modules as well

Step 2: Enable Browser Cache

Add this code in your root directory of .htaccess file.

## EXPIRES CACHING ##

ExpiresActive On
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/pdf "access plus 1 week"
ExpiresByType text/x-javascript "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 week"
ExpiresDefault "access plus 1 week"

## EXPIRES CACHING ##

Step 3: GZIP COMPRESSION

# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent

Step 3: LOAD JAVASCRIPT ASYNCHRONOUSLY

You need to this in header.tpl of your theme folder
catalog/view/theme/[YOUR THEME]/common/header.tpl

This will help you to increase atleast 40% to 50% speed. If you need any help or increase speed you can avail our Premium Service. .

Or Try some Premium Plugin to optimized your website

Premium Speed Optimization Plugin

Please get a free quote.


Categories

Visit our Sponser’s Ads