3. Magento Performance Bootcamp
About me
Ray Bogman
• Computer Geek since 1983
• Ethical hacker, security specialist
• Performance specialist
• Founder Jira ICT
• Magento Lover since Day One
• Joomla/Magento trainer/consultant
Ray Bogman [ray@jira.nl]
www.jira.nl
6. Magento Performance Bootcamp
What is the problem, how do I fix this?
• Can I fix this myself?
• Where do I look?
Ray Bogman [ray@jira.nl]
www.jira.nl
7. Magento Performance Bootcamp
the Performance Golden Rule [20 - 80%]
“80-90% of the end-user response time is
spent on the frontend.
Ray Bogman [ray@jira.nl]
Start there.” www.jira.nl
By Steve Souders
12. Magento Performance Bootcamp
SPO: Memcache vs. APC vs. tmpfs
• Memcache
– Cache storage
– Load balanced
– Distributed caching system
• ACP
– Non-distributed caching system
– Dedicated use, not on shared servers
– Opcode cache
• Tmpfs
– Temporary file storage
Ray Bogman [ray@jira.nl]
– Only “root” can do this www.jira.nl
– Static files in memory like css/js/html
13. Magento Performance Bootcamp
SPO : Database tuning
• slow_queries_log
• Mysqltuner
Known problem:
Magento 1.6.1 < older
issues w/ Mysql 5.1
Ray Bogman [ray@jira.nl]
www.jira.nl
16. Magento Performance Bootcamp
WPO: What to do
• Reduce the number of HTTP requests
• CSS Sprites
● Compress your content (Gzip)
● Keep-Alive
● Deflate/Expires content
● Reduce the image size (WebP, etc...)
● Use a Content Delivery Network (CDN)
● Optimize .htacces
● Cookie free domain for static content
Ray Bogman [ray@jira.nl]
www.jira.nl
17. Magento Performance Bootcamp
WPO: Before optimized .htaccess
Ray Bogman [ray@jira.nl]
Source: www.jira.nl
http://www.webpagetest.org/result/120524_F0_CBM/5/performance_optimization/#cache_static_content
18. Magento Performance Bootcamp
WPO: After optimized .htaccess
Ray Bogman [ray@jira.nl]
Source: www.jira.nl
http://www.webpagetest.org/result/120524_G5_CFZ/4/performance_optimization/#cache_static_content
20. Magento Performance Bootcamp
How to optimize Magento?
• Flat Product, Flat Catalog
● Compilation
● Caching
● Nitrogento
● Ez Zoom
● Full Page Cache Pro
● Advanced Block Cache
● Less Modules or turn them off
● Not to many JS frameworks
Ray Bogman [ray@jira.nl]
www.jira.nl