Caching and Performance Improvememts in Joomla

8
3 rd Jan 2015 Happy New Year!

Transcript of Caching and Performance Improvememts in Joomla

Page 1: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Happy New Year!

Page 2: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Ashwin Date

Joomla caching & performance

Page 3: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Tools to Test

● Google Pagespeed

● GTMetrix

● WebpageTest

● Yslow

● Firebug

Page 4: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Why fast ?

● Everyone loves fast sites

● You can boast about it

Page 5: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Simple and Obvious

● Compress images

● Resize Images

● Add width & height tags for images

● Use minified versions of javascript and CSS files

Page 6: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Somethings Joomla

● Turn on GZIP compression in the admin

● Install JCH optimize

● Turn on caching in Global Config

● Conservative Honours individual module's caching settings–● Progressive Modules are always cached–● If your site allows users to login DO NOT enable the System Cache plugin–

Page 7: Caching and Performance Improvememts in Joomla

3rd Jan 2015

A little server side

● Use mod_gzip to compress assets like JS & CSS

● Add far future expiry headers (preferably 1 year out for images, JS and CSS)

● Make sure you don't accidentally cache your HTML markup!!

Page 8: Caching and Performance Improvememts in Joomla

3rd Jan 2015

Really server side

● Use opcode cache like memcached or APC

● Alternately use Varnish

● Make sure you don't accidentally cache your HTML markup!!