Saturday, December 10, 2011

Speed up the Magento

One of the most important key factor in website is the speed performance.Some people think that with magento speed get slow
Here are some useful tips to speed up the magento and make it run fast

Enable Caching
Caching is enabled by default. So just don’t turn it off, unless really necessary, i.e. for development purposes.

Use a PHP Accelerator such as APC
Using a PHP Accelerator is now a necessity. If you use Ubuntu, installing APC is very simple:
sudo aptitude install php5-apc

It will be enable automatically.
For Magento installation in your web hosting, make sure to enable APC in php.ini configuration file by adding:
extension = apc.so



Enable Magento Compiler
To use it:
    Make sure you have about 100 MB additional space
    Go to Tools -> Compilation
    Click “Run Compilation Process”

Make sure Compiler status is “Enabled”.

Enable JavaScript and CSS Combining in the Magento Admin Panel

Install Fooman Speedster via Magento Connect (Free)

Note: After installing, your files should be minified instantly. Go ahead and check your combined scripts to see Fooman Speedster in action. After installing may be your website link  break or there may be problem with css and js
no need to worry after complete installation just go to Mage/app/etc/modules/Fooman_Speedster.xml 
"edit “true” to “false” and then check it will work as you want 

Optimize Your .htaccess File for Max Performance

Remove Unncessary JavaScript Files in Your Magento Layout XML Files
There’s a lot of JavaScript bloat in Magento. You can safely remove certain files and improve performance. Here’s a sample from Avalanche’s page.xml layout file:

Remove ETags
“Entity tags (ETags) are a mechanism web servers and the browser use to determine whether a component in the browser’s cache matches one on the origin server. Since ETags are typically constructed using attributes that make them unique to a specific server hosting a site, the tags will not match when a browser gets the original component from one server and later tries to validate that component on a different server.”



No comments:

Post a Comment

Thankyou for your Comments

LinkWithin

Blog has moved, searching new blog...