website optimalisatie - joomladagen 2012

22
Ray Bogman [[email protected]] www.jira.nl Website Optimalisatie @jd12nl Website Optimalisatie Website Performance Optimization (WPO) Server Performance Optimization (SPO) Jira ICT www.jira.nl - @jiraict

Upload: jira-ict

Post on 18-Jan-2015

2.332 views

Category:

Technology


0 download

DESCRIPTION

Website Optimalisatie for Joomla @JD12NL

TRANSCRIPT

Page 1: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

WebsiteOptimalisatie

Website Performance Optimization (WPO)

Server Performance Optimization (SPO)

Jira ICT www.jira.nl - @jiraict

Page 2: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

About me

Ray Bogman• Computer Geek since 1983• Ethical hacker, security specialist• Performance specialist• Founder Jira ICT• Joomla Lover since Day One• Joomla/Magento trainer/consultant

Page 3: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

My site is getting slower and slower,

what's the problem?

Page 4: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Webmaster Tools - Stress!

Course: http://www.webpagetest.org/forums/showthread.php?tid=10936

Page 5: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

What is the problem, how do I fix this?

• Can I fix this myself?• Where do I look?

Page 6: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 1: Check your LAMP stack

Page 7: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 2: Update your LAMP stack

• Centos 6.2

• Apache 2.4.1

• Mysql 5.5.23

• PHP 5.3.10

Page 8: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 3: Setup Caching layer• APC• Memcache• tmpfs• Xcache• Eaccelerator• Zend Optimizer+• etc...

Page 9: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 4 : Testing & Measuring

• ab• siege• curl-loader• httperf• new-relic• gtmetrix• etc...

Page 10: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 5 : Install sample Joomla website

Page 11: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 6 : Testing & Measuring – Once more

• ab• siege• curl-loader• httperf• new-relic• gtmetrix• etc...

Page 12: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 7 : Copy LIVE website to test server

Page 13: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 8 : Testing & Measuring – Once more

• ab• siege• curl-loader• httperf• new-relic• gtmetrix• etc...

Page 14: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 9 : Optimizing JoomlaHow to optimize Joomla?● Reduce the number of HTTP requests● CSS Sprites● Compress your content● Deflate/Expires content● Reduce the image size (WebP, etc...)● Use a Content Delivery Network (CDN)● Optimize .htacces● Remove unnecessary Joomla extention● Enable Joomla caching (Jotcache, etc...)● Remove unnecessary javascript (mootools vs. jquery)● ... and many many more tricks

Page 15: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 10 : Testing & Measuring – Once more

• ab• siege• curl-loader• httperf• new-relic• gtmetrix• etc...

Page 16: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 11 : Database tuning

• slow_queries_log• Mysqltuner

Known problem:Problem is, the migration (using jUpgrade) does not build the #_assets table correctly.

Page 17: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Slow SQL log

Page 18: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Assets table issues• http://forum.joomla.org/viewtopic.php?t=679355&p=2765088• https://github.com/ikajaste/Joomla-2.5-Asset-Weaver• http://forum.joomla.org/viewtopic.php?f=616&t=679355• http://joomlacode.org/gf/project/joomla/tracker/?

action=TrackerItemEdit&tracker_item_id=25617

Page 19: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Step 12 : Testing & Measuring – Once more

• ab• siege• curl-loader• httperf• new-relic• gtmetrix• etc...

Page 20: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Techniques & Resources

•YSlow (Firebug/Firefox plugin)

•Google Page Speed (Firefox/Chrome plugin)

•Webpagetest.org•Gtmetrix.com (http://gtmetrix.com/reports/www.joomla-speed.com/iFp0naj4)

•Whatsmyip.org/http_compression•Smushit.com/ysmush.it•Host-tracker.com•CSS Sprites (CSS technique)

•CDN (Content Delivery Network)

•Byte Internet (Joomla hosting provider)

•CloudVPS (Joomla VPS images created by Jira)

Page 21: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

More Jira ICT

•WPO/SPO audits– jira.nl/speed

•Training & demo-days– www.joomla-competence-center.com/– cursus.jira.nl

Page 22: Website Optimalisatie - Joomladagen 2012

Ray Bogman [[email protected]]www.jira.nl

Website Optimalisatie @jd12nl

Thank [email protected]

#jiraict

www.jira.nlhttp://www.slideshare.net/jiraicthttp://www.facebook.com/jiraict