Upgrade to Pro — share decks privately, control downloads, hide ads and more …

High Performance (JoomlaDay Bulgaria 2012)

High Performance (JoomlaDay Bulgaria 2012)

Some basic high performance principles for Joomla! (and not only).

Fotis Evangelou

October 13, 2012

Transcript

31 slides
  1. Networking • The closer the server is to the user,

    the better :) Local site? Local server! • Avoid DNS redirects (don't use lots of CNAMEs) • Split static file resources to subdomains • Use a Content Delivery Network (CDN)
  2. ```````````` Combine and compress ```````````` Pack? Minify! ```````````` One JS

    library ```````````` OnLoad events ```````````` Images as backgrounds
  3. ```````````` CSS sprites ```````````` Gif? Png? Jpg? ```````````` Resize images

    ```````````` Identify slow queries ```````````` Enable Joomla! debug
  4. Server-side Optimizations • Upgrade to the newest stable release of

    PHP, MySQL etc. • Enable server caching (APC, Memcache etc.) • Enable MySQL caching • Enable cache expiration headers for static assets (images, CSS, JS, fonts) • Cut off session cookies - Joomla!'s big PITA • mod_pagespeed for Apache by Google • Use a different webserver • Use a web accelerator • Use an alternative webserver to Apache • Add a CDN to your server • MySQL cluster (minimum 3 instances), Percona Server • Use a "real" cloud provider :)

More Decks by Fotis Evangelou

Other Decks in Technology