How to Speed Up Your Joomla Website
Upcoming SlideShare
Loading in...5
×
 

How to Speed Up Your Joomla Website

on

  • 23,283 views

A presentation by SiteGround Performance Guru on how to optimize your Joomla website and make it more than 100 times faster. The topic covers various tips and tricks including: ...

A presentation by SiteGround Performance Guru on how to optimize your Joomla website and make it more than 100 times faster. The topic covers various tips and tricks including:

Joomla backend optimizations
Template and extensions tips
Caching methods and useful plugins
CDN Options
Recommended server settings

Statistics

Views

Total Views
23,283
Views on SlideShare
7,306
Embed Views
15,977

Actions

Likes
9
Downloads
187
Comments
0

20 Embeds 15,977

http://www.nosyweb.fr 14123
http://blog.siteground.com 1408
http://vicenmartinez.wordpress.com 155
http://debug.nosyweb.fr 107
http://feeds2.feedburner.com 96
http://l.lj-toys.com 27
http://elearning.tadelformacion.com 11
http://www.dev-nosyweb.com 9
http://dev2.nosyweb.fr 7
http://feeds.feedburner.com 6
https://twitter.com 5
http://plus.url.google.com 5
https://www.google.fr 4
http://www.praiseon.com 4
http://translate.googleusercontent.com 4
http://www.google.fr 2
http://webcache.googleusercontent.com 1
http://cloud.feedly.com 1
http://feedproxy.google.com 1
https://vicenmartinez.wordpress.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    How to Speed Up Your Joomla Website How to Speed Up Your Joomla Website Presentation Transcript

    • HOW TO SPEED UP YOURJOOMLA SITE?Daniel KanchevPerformance Guru
    • Before We Begin – Who’s That Guy Daniel?ü  7+ years of Joomla! experienceü  4 years with SiteGroundü  Love travelling the worldü  Addicted to extreme sports
    • ü  Site speed affects your Google Rankings!ü  Keep readers/customers happy & payingü  Be able to handle more visitorsü  Go green and save $$$ from serversWHY BOTHER DOING IT?
    • Faster Joomla = OptimizationsKEEPCALMIT’S NOTROCKETSCIENCE
    • ü  Keep your Joomla! updatedü  Choose extensions wiselyü  Deactivate unused extensions, upgrade usedü  Simplify your templates as much as possibleGENERAL GUIDELINES
    • Simple Front Page Is Betterü  Fancy stuff – only if you really need itü  Remove unnecessary large imagesü  Use fewer internal/external links – add sitemapü  Avoid loading content from remote servers
    • APPLICATION LEVEL OPTIMIZATIONS
    • Enable Compressionü  Natively supported by Joomla! – no extensions neededü  Requires mod_gzip/deflate to be enabled on the serverSiteGlobal ConfigurationServer
    • Enable Joomla! Cacheü  Enable the “System – Cache” plugin
    • Recommended Cache SettingsSiteGlobal ConfigurationSystemCache Settings
    • Some .htaccess Magicü  Get the code:http://goo.gl/ze09Bü  How it works:- Etag – Tells browsers that an image/unit does not need to be reloaded- Expires Headers – Set different expiration dates for various file types- AddOutputFilterByType DEFLATE – minifies the compiled HTML source code
    • Some .htaccess Magicü The code:FileETag MTime SizeAddOutputFilterByType DEFLATE text/html text/css application/javascriptExpiresActive OnExpiresDefault "now plus 1 hour"ExpiresByType text/css "now plus 1 week“ExpiresByType application/javascript "now plus 1 week"ExpiresByType application/x-javascript "now plus 1 week”
    • More Optimizations: Images, CSS & JSü  Resize images – never upload 2560x1600 picturesü  Smush your imagesü  Minify and combine CSS and JS filesü  Use image sprites
    • Sounds Nice, How Do I Begin?ü  Use smush.itü  Photoshop/Fireworksü  Joomla! Extensions
    • Some Highly Rated Extensionsü JCH Optimize – Combines JS and CSS, Combinesimages in sprites, Minify and Compressü Jbetolo – same as above but + CDN supportü JotCache – improves the Joomla! built in CoreCacheü Cache Cleaner – easily clean the cache from theJoomla! admin panel
    • JCH Optimizeü  Enable the “System – JCH Optimize” plugin
    • JCH Optimize Settings
    • Google mod_pagespeedü  An open-source Apache module - compress, combine andcacheü  Needs to be installed/configured by a System Administratorü  Available on SiteGround servers
    • Check How’s Your Website Doingü  Google Page Speed Insights - http://goo.gl/zPkxxü  YSlow - http://goo.gl/qIiosü  GTmetrix - http://gtmetrix.com/
    • Some Results – Default Joomla!NoOptimizationsCache/Compression.htaccessrulesJCHPage Load Time 1.61s 1.49s 1.32s 1.02sTotal Page Size 563KB 162KB 162KB 151KBNumber of Requests 35 35 35 19Page Speed Grade F (41%) B (65%) B (87%) A (91%)YSlow Grade C (70%) B (66%) B (86%) A (92%)
    • SERVER LEVEL OPTIMIZATIONS
    • Use CDNYOUR VISITORSLOCATIONMATTERS!
    • CDN Featuresü  CDN will make your website fasterü  CDN will help avoid unneeded I/O on your hard drivesü  CDN will appeal to both Google and your visitors
    • Software Tweaksü  Use fast and secure PHP like FastCGIü  Move PHP binaries to RAMü  Move TMP to RAMü  Move MySQL to a separate hard drive: RAID & SSDü  Enable MySQL query cacheü  Use TMPFS for MySQL’s tmpdir
    • Opcode/Object Cachingü  FastCGI + APC PHP extensionü  Memcached and PHP/MySQLü  eAccelerator 
    • Joomla Interaction with Your Databaseü  First request goes to thedatabase server
    • Object Cachingü  First request goes to thedatabase serverü  Objects are also storedin Memcached
    • Object Cachingü  All consecutive requestsare forwarded to theMemcached server
    • How PHP works¤  Scanning¤  Lexing¤  Parsing¤  Compilation¤  Opcode¤  Execution
    • ¤  Opcode ¤  ExecutionPHP Opcode Caching
    • Reverse Proxy Servers
    • Reverse Proxy Servers
    • Reverse Proxy Servers
    • Reverse Proxy Servers
    • ü  Custom PHP/MySQL configurationü  Memcached/PHP APCü  Joomla! friendly reverse proxy setupOur Own Solution: The SUPERCACHER
    • Final Results: Joomla + VirtueMartNoOptimizationsApplication LevelOptimizationsServer LevelOptimizationsPage Load Time 5.22s 3.49s 1.09sTotal Page Size 1.89MB 0.67MB 0.67MBNumber of Requests 76 28 28Page Speed Grade F (41%) B (85%) A (92%)YSlow Grade C (70%) B (84%) A (94%)
    • Some Key Takesü Speed optimization is a process – do it regularlyü Always test!ü Choose a well optimized host
    • QUESTIONSTIME
    • Want a piece of the cake?70% OFF discountWWW.SITEGROUND.COM/WEBINAR
    • THANK YOU!Daniel Kanchevdaniel.k@siteground.com