Website Optimalisatie - Joomladagen 2012
-
Upload
jira-ict -
Category
Technology
-
view
2.332 -
download
0
description
Transcript of 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
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
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
My site is getting slower and slower,
what's the problem?
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
Webmaster Tools - Stress!
Course: http://www.webpagetest.org/forums/showthread.php?tid=10936
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?
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
Step 1: Check your LAMP stack
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
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
Step 3: Setup Caching layer• APC• Memcache• tmpfs• Xcache• Eaccelerator• Zend Optimizer+• etc...
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
Step 4 : Testing & Measuring
• ab• siege• curl-loader• httperf• new-relic• gtmetrix• etc...
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
Step 5 : Install sample Joomla website
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...
Ray Bogman [[email protected]]www.jira.nl
Website Optimalisatie @jd12nl
Step 7 : Copy LIVE website to test server
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...
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
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...
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.
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
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...
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)
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
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