Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Magento is slow?


BACKEND SETTING:

1. Sign in to Backend (index.php/admin)
2. From the menu choose System->Cache Management
3. Click on Select All link
4. Choose Enable from Actions drop down list
5. Press Submit button.
6. To enable additional cache management press both the “Flush Catalog Images Cache” and “Flush JavaScript/CSS Cache” buttons.

APACHE SETTING:
(~public_html/.htaccess file changes)

<IfModule mod_deflate.c>
DeflateBufferSize 32768
DeflateCompressionLevel 5

<Location />
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|tiff)$ no-gzip dont-vary
Header append Vary User-Agent env=!dont-vary
</Location>
</IfModule>

PHP SETTING:
(~public_html/php.ini)

zlib.output_compression = on

Advertisements

Comments are closed.

%d bloggers like this: