Presentation from Perry Wirth on Joomla! speed optimization. This presentation covers concepts and methods behind speeding up the load time of your site. This covers what you can do within a base Joomla installation along with template parameters and extensions which can also help.
3. • BS Management Information Systems
• 10+ Years web experience
• Accenture
– Services – BPO
– Client Service Liaison for Global CPG
• Created over 20 Joomla! Sites
• Own a martial arts academy (3 sites)
9. • FireBug
– YSlow
– Google Page Speed
• Chrome Speed Tracer
• GT Metrix - Score and history
• webpagetest.org
• Your eyes
10.
11.
12.
13. • Minify
– Take out white space = smaller file size
• Combine CSS and JS into 1 file (or about)
– Less requests for the client
• Compress
– GZip
• Cache
– Keep everything in memory
• Optimize Images
– Resize, quality and compress
14. • Global Configuration (System and Server)
• System Cache Plugin
15. Browser Server Server Browser Browser
Server Zips
Requests Recognizes Sends Receives Unzips
18. • Only does template, not components or system files
• Data URIs
– Doesn’t work in IE 7 and below
– Turns the images into raw data, less requests
• Gzip template files
– Similar to zipping a file on your computer
21. • Choose the best format
– Photos=JPG, Flat Colors=PNG
• Check the quality and adjust
• Resize before uploading
• Sprites when possible
• Smush.it - Lossless compression
– YSlow >> Tools >> All Smush.it
• RIOT - Radical Image Optimization Tool
22.
23. • Enabled the following…
– Global Config Cache
– Global Config GZIP
– System Cache
– YooTheme’s maximum optimization
• minify + gzip + combination + data URIs
– Optimized Images
28. • Minify, combine, compress CSS and JS
• Exclude files, directories, components
• JS Ordering
• Compress HTML
• Debug Information
• Bonus – Sprites, CDN, different methods
29. • Joomla Cache, GZIP, System Cache
• Template – Turned everything off
– Handled by 3rd party plugin now
• JHC Optimize
– Combine, gzip, minify CSS and JS
– Minify HTML
• Smush.it all my images (home page)
30. • System plugin order
– All plugins, Optimizing Plugin, Cache Plugin
• Are my pages displayed properly?
• Does all of my JavaScript work?
• Can I cruise on the site?
• Tip: You can turn off caching on a per module basis
31.
32.
33. • Dedicated environment
– OPCode cache
• Use a CDN
• Better image optimization
– Adjust quality, use sprites
• Remove un-used CSS (Hard in templates)
34. • Don’t have to worry about others
• Separate servers for Apache and MySQL
• Server Side Optimization
– MySQL and Advanced Opcode Caching
• Used for larger sites
• More Expensive
35. • Serve on a cloud
• Many servers send you the files
• Helps with proximity
• Speedy multimedia
• Monthly Fees
36. • Do the previously mentioned
• Look into CSS Sprites
• Greatly reduces requests
• Some extensions help
• Involved higher skills to be done manually
37. • Large issue with CMS
• Plugins the pages
• CSS/JS only used on specific pages
• Increases files size
• Increases requests
• Live with it, but disable what your not using
Just from 2003-2009 Page size quintuples (5.4x larger)
You have 4 second for your page to load before users loose interestGoogle uses page speed in their ranking
Neo from YooTheme(Warp 5)Twitter FeedFront Page Slide ShowCCK (Zoo)Image Backgroundsh404SEFMenus
Things to know about cache…Turn it off when optimizingUpdates on your site will take a time to applyOnly extends to public usersFile is the most basic one (If you are in a shared environment)Other types if your host offers them and you are in a dedicated environment OPCode Cache – APC, Xcache, eAcceleratorGzipReduces by about 70%Based if the browser supports it (IE 7 < Do not90% of todays doSystem and some components have checks if it is supported or not by the clientSystem Cache Plugin can cause troubles More for static sites