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

How to Speed Up Your Joomla Website



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



Total Views
Views on SlideShare
Embed Views



20 Embeds 15,977 14123 1408 155 107 96 27 11 9 7 6 5 5 4 4 4 2 1 1 1 1



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.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
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
    • 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:ü  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 -ü  YSlow -ü  GTmetrix -
    • 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%)
    • 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
    • Want a piece of the cake?70% OFF discountWWW.SITEGROUND.COM/WEBINAR
    • THANK YOU!Daniel