Boost Magento page speed

1. Enable cache
2. Enable Zend Full page cache
3. zlib.output_compression on
4. turn on all compression of mod_deflate.c
5. “ExpiresActive On” in mod_expires.c
6. add some more cache and compression

# YEAR

Header set Cache-Control “max-age=29030400”

# WEEK

Header set Cache-Control “max-age=604800”

# 45 MIN

Header set Cache-Control “max-age=86400”


mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl|asp|html)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

7. Optimize Images


Posted

in

by

Tags: