squeeze maximum performance from your joomla website

27
Squeeze Maximum Performance From Your Joomla! Website Tenko Nikolov CEO at SiteGround

Upload: sitegroundcom

Post on 08-May-2015

5.047 views

Category:

Technology


5 download

DESCRIPTION

Basic and advanced tips and tricks to optimize your Joomla website in order to achieve maximum performance - a presentation by Tenko Nikolov for JoomlaDay Chicago 2012.

TRANSCRIPT

Page 1: Squeeze Maximum Performance From Your Joomla Website

Squeeze Maximum Performance From Your Joomla! Website

Tenko NikolovCEO at SiteGround

Page 2: Squeeze Maximum Performance From Your Joomla Website

Before we start – who am I

• 17+ years of IT life• 8 years with SiteGround• 7 years CEO at SiteGround• Husband, dad• Passionate about photography and geeky toys• Addicted to cars and everything fast

Page 3: Squeeze Maximum Performance From Your Joomla Website

Speaking of cars…This is my favorite driving machine! Why?

SPEED & PERFORMANCE

Page 4: Squeeze Maximum Performance From Your Joomla Website

PERFORMANCE = OPTIMIZATIONS

Page 5: Squeeze Maximum Performance From Your Joomla Website

Why optimize?

• Your speed affects your Google rankings!• Stay up under heavy load• Save $$$ from servers, Save the Planet too!• When your site is fast, you look professional• Keep readers/customers happy & paying

Page 6: Squeeze Maximum Performance From Your Joomla Website

Let’s get the basics done

• Keep Joomla! up to date• Choose extensions wisely• Deactivate unused extensions, update used

Page 7: Squeeze Maximum Performance From Your Joomla Website

Don’t mind some cache?

• Use Joomla Cache in Global Configuration– Setup Cache Properly – eg. Time to Live

• Some very good tutorials on Joomla Cache

http://www.theartofjoomla.com/joomla-caching-explained.html

Page 8: Squeeze Maximum Performance From Your Joomla Website

Building your own templates?

• Simplify your templates as much as possible• Keep in mind HTTP requests are expensive

• Minify and combine CSS and JS files• Enable GZIP compression

Page 9: Squeeze Maximum Performance From Your Joomla Website

Optimize your images

• Offload when possible– serve images from a CDN or Flickr

• Never let the browser do your job! Resize images for the web before uploading them!

• Smush your images -> smush.it• Use image sprites when possible

Page 10: Squeeze Maximum Performance From Your Joomla Website

Check how’s your website doing?

Check your template’s performance:

»Google PageSpeed Insightshttps://developers.google.com/speed/pagespeed/insights

»YSlowhttps://developer.yahoo.com/yslow/

Page 11: Squeeze Maximum Performance From Your Joomla Website

Joomla has you covered!

• If you don’t know how to do it or are just lazy - Explore the JED!

• You can use extensions to boost your website performance!

Page 12: Squeeze Maximum Performance From Your Joomla Website

Some highly rated extensions from the JED

• JCH Optimize – Combines JS and CSS, Combines images in Sprites, Minify and Gzip

• Jbetolo – same as above but w/ CDN support• JotCache – further improves the functionality

of the Joomla Built in Core Cache• Cache Cleaner – allows for easier cache

cleaning within the Joomla Admin panel

Page 13: Squeeze Maximum Performance From Your Joomla Website

The advanced stuff

• Most of these require SSH access/dedicated environment/, and would require a skilled sysadmin to do.

• Should be done by your host, should you use a managed service.

Page 14: Squeeze Maximum Performance From Your Joomla Website

Software tweaks

• Install RAM caching mechanismsMemcache and APC/Eaccellerator

• Install reverse proxyNginX or Varnish

• Choose your hosting platform wisely• Use staging environment to benchmark

Page 15: Squeeze Maximum Performance From Your Joomla Website

More software tweaks

• Use fast & secure PHP like FastCGI• Move PHP binaries into RAM• Move MySQL to a different hard drive. Use RAID

& SSD for lightning fast performance.• Keep log files separate and small in size• Move TMP to RAM

Page 16: Squeeze Maximum Performance From Your Joomla Website

Use CDN!

• CDN will help avoid unneeded I/O on your HDDs• CDN will make your website faster• CDN will appeal to both Google and your users

Easy to setup FREE CDN Providers CloudFlare www.cloudflare.comInCapsula www.incapsula.com

Page 17: Squeeze Maximum Performance From Your Joomla Website

Hardware matters!

• Invest in hardware

Test at least 3 different hardware setups before proceeding.

Always benchmark performance and reliability

Add more RAM and Flash based disks and use them on maximum capacity for caching and databases

Page 18: Squeeze Maximum Performance From Your Joomla Website

The big question: which hosting platform provides max performance?

DEDICATED VPS

SHARED

CLOUD

Page 19: Squeeze Maximum Performance From Your Joomla Website

The common understanding

Page 20: Squeeze Maximum Performance From Your Joomla Website

The picture CAN be different!

Page 21: Squeeze Maximum Performance From Your Joomla Website

Let’s prove this

Page 22: Squeeze Maximum Performance From Your Joomla Website

But what if we add server cache?

Page 23: Squeeze Maximum Performance From Your Joomla Website

Some key takes

• Shared can be a good platform contrary to the common belief, but not always the right one

• If you need custom setup/deep customizations & have a big website -> go for VPS/dedicated

• Dedicated/VPS & Cloud can perform much better for you if you KNOW how to tweak them

Page 24: Squeeze Maximum Performance From Your Joomla Website

More key takes

• Your site will perform better, regardless of the platform should it’s optimized.

• There are tools that can help you speed up your website, like extensions, CDNs and site loading speed checkers.

Page 25: Squeeze Maximum Performance From Your Joomla Website

Some useful tools:

• Yslow• Google page speed• Chrome speed tracer• Webpagetest.org

Page 26: Squeeze Maximum Performance From Your Joomla Website

It’s your turn!

Questions time!

Page 27: Squeeze Maximum Performance From Your Joomla Website

THANK YOU!

Tenko Nikolov

SiteGround.com

Email: [email protected]

Twitter: @tnikolov