SlideShare a Scribd company logo
Speed!... it up please
     Rafael Corral, Lead Developer 'corePHP'
                            CMS Expo 2011
Hi!


  Lead Developer @ 'corePHP'
  Creator of WordPress for Joomla
  Creator of JPhoto
  Creator of jomCDN
Speed? Who cares?

  Your customers!
     Customer satisfaction is important!
     Happy customers = Returning customers
  You
     SEO Improvements
     More page views
     Improved server performance
     Higher conversion rates
Discovery

  Who takes performance seriously?
  Custom developed extensions for a CMS?
  Do you rely on your website for most of your
   income?
  Has no interest in looking at any code?

Recommended for you

WordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & TuningWordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & Tuning

This document discusses optimizing WordPress performance. It recommends minimizing frontend assets like CSS and images, using caching plugins to improve load times, optimizing themes and plugins, and choosing a fast web server like Nginx. Real-world tests show Nginx outperforming Apache. Specific tips include simplifying themes, deleting unused plugins, moving scripts to the bottom, and using a CDN with caching plugins to serve static assets quickly. The document emphasizes improving perceived performance through responsiveness, feedback and progressive loading.

wordpressplugintuning
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress

Nobody likes a slow website. Faster sites lead to happier users, and happier users lead to more conversions and revenue. That’s why you should take performance into account in your WordPress project. Learn what practical techniques and WordPress plugins to use in order to optimize your site for speed.

wordpressperformanceoptimization
Optimizing WordPress - WordPress SF Meetup April 2012
Optimizing WordPress -  WordPress SF Meetup April 2012Optimizing WordPress -  WordPress SF Meetup April 2012
Optimizing WordPress - WordPress SF Meetup April 2012

The document discusses various levels of WordPress optimization. Level 1 focuses on keeping WordPress updated, using caching plugins like W3 Total Cache, deactivating unused plugins, and reviewing themes. Level 2 includes offloading images, feedburning RSS feeds, repairing the MySQL database, and using multiple subdomains. Level 3 suggests logging slow queries, profiling with tools, using a CDN, optimizing images, and using an opcode cache. Level 4 covers more advanced techniques like reverse proxying with Nginx, Varnish caching, Memcache, HyperDB, and static hosting on S3. The document advises against editing core files and notes that Amazon EC2 alone does not optimize performance.

wordpress
What we think we are delivering…
What we actually deliver…
Why is my website slow?

  How slow is slow?
  Too many assets
  Images not optimized
  Files not compressed
  Slow server
  No caching
  No CDN
Your users are what matter!

  Users are likely to leave when waiting
  Akamai sets the bar to 2 seconds
  Google sets the bar to 1.5 seconds
  50% of users stated that a quick site is
   important for loyalty

Recommended for you

The Power of a Video Library - WordCamp Raleigh
The  Power of a Video Library - WordCamp RaleighThe  Power of a Video Library - WordCamp Raleigh
The Power of a Video Library - WordCamp Raleigh

This document discusses the power of including video content on websites. It provides statistics that show video helps convey emotion to customers, drive traffic and sales. It recommends including types of video like product demonstrations, instructions and testimonials. It also discusses tools for creating a video library like self-hosting or using third parties, and video gallery plugins that can display videos. It provides best practices like using keywords and catchy titles to optimize videos, and tips for promoting videos through email, landing pages and social media.

wordpressvideo galleryvideo library
Wordpress Page Load Speed - Kenneth sytian
Wordpress Page Load Speed - Kenneth sytianWordpress Page Load Speed - Kenneth sytian
Wordpress Page Load Speed - Kenneth sytian

Every website has to improve their speed or otherwise they are just giving away easy customer conversions, higher rankings and overall better user experience.

sedevelopersweb development
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress

Optimizing the performance of WordPress by Josh Highland of NewLeaf Labs. Presentation was given at Orange County WordCamp 2011

wordpressoptimizationorange county wordcamp
Your Goal: Reduce HTTP Requests
           Less is more
         Keep this in mind!
Combine, combine, combine!

  Combine all scripts into one script
  Even if they are not needed for that page
  Combine all CSS into a single style sheet
  CSS can be tricky mostly when using a CMS




                                         Step 1
Optimize images & CSS Sprites

  Convert GIFs to PNGs, possible savings
  http://www.smushit.com/ysmush.it/
  Combine images to reduce HTTP requests
  Group them by color
  Arrange images horizontally (smaller file sizes)




                                              Step 2
Optimize, Compress & Gzip

  Optimize JS
    http://closure-compiler.appspot.com/home
  Compress CSS and JS
    http://refresh-sf.com/yui/
    http://tools.w3clubs.com/cssmin/
  Gzip CSS and JS before sending them to the
   browser




                                                Step 3

Recommended for you

Front-End Performance Optimizing
Front-End Performance OptimizingFront-End Performance Optimizing
Front-End Performance Optimizing

Front-end performance optimizing involves optimizing a website's HTML, CSS, JavaScript, and image files to achieve the fastest possible loading speed. This includes minimizing HTTP requests by combining files, compressing files, optimizing code by removing unused code and errors, leveraging browser caching, and parallelizing downloads across domains. The document outlines nine techniques for front-end optimization, such as optimizing file sizes, reducing download size through compression and caching, and minimizing HTTP requests through file combining and CSS sprites.

front-endwebsitesoptimizing
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization

Yahoo has developed the de facto standard for building fast front-ends for websites. The bad news: you have to follow 34 rules to get there. The good news: I'll take a subset of those rules, explain them, and show how you can implement those rules in an automated fashion to minimize impact on developers and designers for your high-traffic website.

yslowphpoptimization
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips

Website Page speed is a big ranking factor and we all know that. Google has already announced that they will give less priority to slow sites and even mark site with SLOW tag in SERPs. Lets understand what makes your site slow and how can you make your site lightening fast..If your website is also struggling with slow page load time..checkout our tips here http://www.cgcolors.com/blog/minimize-website-page-loading-time-20-advanced-seo-tips/ You can contact our page load optimization experts - hi@cgcolors.com | 347-732-2736

web designseo tipsseo web design
Script Placement

  Place Stylesheets at the top
     Inside the <head> tag
  Place Scripts at the bottom
     Before the ending </body> tag




                                      Step 4
No 404s

  HTTP calls are expensive!
  Useless calls are even worse
  If a css or js is not there, the browser tries
   to parse through that 404 page that the
   server returns.




                                                    Step 5
Use a CDN

  Focus on dispersing static content only
    Images, CSS, JS, Flash, etc...
  Separate assets across domains
    No more than 4 different domains


  WordPress – W3 Total Cache
  http://drupal.org/project/cdn
  http://extensions.joomla.org/extensions/site-
   management/content-networking


                                             Step 6
Cache

  Server cache
    APC
    Opcode
  Browser cache
    Expires
    Cache-Control
    ETags




                     Step 7

Recommended for you

Speed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan HanesSpeed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan Hanes

7 ways to speed up a website are discussed: choosing a lightweight theme, disabling unnecessary plugins, optimizing files by minifying CSS/JS and image compression, implementing caching, using a content delivery network (CDN), cleaning up the database, and optimizing theme and plugin performance. The document provides details on each method, emphasizing measuring site speed before and after changes, using appropriate tools, and backing up the site when making optimizations. The overall message is that many small improvements can significantly increase site speed.

Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get there

Learn why you should improve your WordPress site's loading speed, and what steps to take to load your site in under two seconds.

cachingwordpressresponsive images
Meta Refresh 2014
Meta Refresh 2014Meta Refresh 2014
Meta Refresh 2014

This document discusses techniques for improving perceived performance of websites. It explains that perceived performance is how quickly a site seems to load from a user's perspective, rather than actual technical performance metrics. Some key techniques discussed include using skeleton screens, progressive enhancement, and showing loading progress to trick users into thinking a site is loading faster than it actually is. The document also advocates for measuring real user performance data through APIs to identify actual bottlenecks and prioritize improvements.

Testing

  Total page load time
  Total page size
  Number of assets
  Time to render
  Check Google Analytics statistics




                                       Step 8
Tools

  YSlow
  Google Pagespeed
  Pingdom
  http://code.google.com/speed/
Examples

   Combined Files
     `corePHP`
   Optimized images, CSS Sprites and pre-loading
     Google.com
   Script placement
   CDN
     Google Maps
   Caching
     Mashable
Examples

   <FilesMatch "(?i)^.*.(ico|jpg|jpeg|png|js|css)$">
   Header unset Last-Modified
   Header set Expires "Fri, 21 Dec 2012 00:00:00
    GMT”
   Header set Cache-Control "public, no-transform”
   </FilesMatch>

Recommended for you

Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development

This document provides an introduction and overview of HTML, CSS, and JavaScript for web development. It covers the basics of each language, including common tags and elements in HTML, syntax and selectors in CSS, and how to incorporate JavaScript in HTML pages. It also discusses tools used for web development and lists learning resources for further studying HTML, CSS, and JavaScript.

htmlcssjavascript
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and PluginsWordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins

WordPress Multisite allows multiple sites to run under a single WordPress installation. UpDraftPlus and BackWPUp are popular plugins for backing up sites. A child theme allows modifications to an existing theme's files while still receiving updates, whereas a custom theme requires building all files from scratch. Local development tools like WAMP, DesktopServer, and Local by Flywheel allow running WordPress locally with PHP and MySQL. Source code repositories like GitHub and code editors help with development workflow.

wordpresschild themecustom theme
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...

It requires 50% more concentration when using badly performing website. Make it easier for your users, not harder… A faster website can help your website in many ways. The faster the website, the lower the bounce rate and the higher the conversions. This mean higher sales, ad revenue and ultimately money. Here are 10 ways you can speed up your website: Hosting Provider – Who is hosting your website and how are they hosting it? Utilize Caching – Page Cache, Database Cache, Object Cache, Browser Cache, Reverse Proxy Combine CSS and JS files – Load JS in the footer whenever possible Use a CDN -A Content Delivery Network (CDN) will ‘put a rocket behind your static content’ Reduce and Optimize Images – Use CSS3 whenever and wherever possible, save images for web Use Compression – Save bandwidth and speed up your website Use Sprites – Load JS in the footer whenever possible Monitor Your Website – CPU usage, Physical Memory, Average Load, Disk I/O utilization, Network I/O Optimize your Database Regularly – Optimizing database tables regularly will help improve website performance Mobile and Tablet Optimization – Use CSS3 Media Queries, JS and service-side technology to speed up devices

wordpresswebsite optimizationweb design and development
Developer improvements

  Use GET for AJAX requests
  Uses one TCP packet instead of two
  Post-load components
    Load the JavaScript to do animation only when needed
    Load images that are not needed
  Preload components
    Unconditional
    Conditional
    Anticipated
  Use <link> over @import
Developer improvements

  Reduce number of DOM Elements
  Don't scale images in HTML
  Keep components under 25k
     iPhone does not cache anything bigger
  Avoid empty src=""
  Lazy load images
What about the server?

  Think about the 80/20 rule
  Ideally the page should be stitched together in
   200-500ms
      A page should load in 1.5 seconds
      ~20% of the time you spend requesting the
       HTML
  ~80% is spent retrieving the assets
      Images
      CSS
      and JS files
Thank you!

Questions? or Site review?

Recommended for you

Metarefresh
MetarefreshMetarefresh
Metarefresh

This document summarizes challenges faced by the Flipkart frontend team. It discusses how they handle over 4 million pageviews per day across browsers using an in-house CDN. Key challenges include secure cross-domain calls, scalable CSS, and cleaning up old code. Techniques used include iframes, window.postMessage(), and window.name for cross-domain transport. The document also covers their approach to webfonts, CSS architecture using OCSS, and an experimental tool to clean up redundant CSS declarations.

Speed Up Wordpress, Wordpress Horsepower
Speed Up Wordpress, Wordpress HorsepowerSpeed Up Wordpress, Wordpress Horsepower
Speed Up Wordpress, Wordpress Horsepower

My improved presentation on how to speed up Wordpress and optimize it's performance. Also covers why we still need to care about page load time.

wordpresspage timeloading
PHP 5
PHP 5PHP 5
PHP 5

The document summarizes many of the new features introduced in PHP 5, including an overhauled object model with reference handling, visibility, constructors and destructors. It also discusses the Standard PHP Library (SPL) which provides classes and interfaces to solve common problems. New functions, extensions and other language improvements like type hinting and exceptions are covered. The presentation encourages developers to adopt PHP 5 features for improved object oriented programming.

phpphp4php5
References
  http://www.akamai.com/html/about/press/releases/2009/
   press_091409.html
  http://www.google.com/support/webmasters/bin/static.py?
   page=checklist.cs&tab=1095542
  http://tools.pingdom.com/fpt/
  http://googlewebmastercentral.blogspot.com/2010/04/using-site-
   speed-in-web-search-ranking.html
  http://glinden.blogspot.com/2006/11/marissa-mayer-at-
   web-20.html
  http://radar.oreilly.com/2008/08/radar-theme-web-ops.html
  http://developer.yahoo.com/performance/rules.html
  http://www.alistapart.com/articles/sprites

More Related Content

What's hot

Presentation1
Presentation1Presentation1
Presentation1
Rosie brown
 
Optimizing web performance (Fronteers edition)
Optimizing web performance (Fronteers edition)Optimizing web performance (Fronteers edition)
Optimizing web performance (Fronteers edition)
Dave Olsen
 
Web performance
Web performanceWeb performance
Web performance
Islam AlZatary
 
WordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & TuningWordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & Tuning
Timothy Wood
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress
Johannes Siipola
 
Optimizing WordPress - WordPress SF Meetup April 2012
Optimizing WordPress -  WordPress SF Meetup April 2012Optimizing WordPress -  WordPress SF Meetup April 2012
Optimizing WordPress - WordPress SF Meetup April 2012
Ben Metcalfe
 
The Power of a Video Library - WordCamp Raleigh
The  Power of a Video Library - WordCamp RaleighThe  Power of a Video Library - WordCamp Raleigh
The Power of a Video Library - WordCamp Raleigh
Lauren Jeffcoat
 
Wordpress Page Load Speed - Kenneth sytian
Wordpress Page Load Speed - Kenneth sytianWordpress Page Load Speed - Kenneth sytian
Wordpress Page Load Speed - Kenneth sytian
Grant Merriel
 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
Josh Highland Giese
 
Front-End Performance Optimizing
Front-End Performance OptimizingFront-End Performance Optimizing
Front-End Performance Optimizing
Michael Pehl
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
Gerard Sychay
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips
CgColors
 
Speed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan HanesSpeed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan Hanes
Meagan Hanes
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get there
Stephen Bell
 
Meta Refresh 2014
Meta Refresh 2014Meta Refresh 2014
Meta Refresh 2014
Aakash Bapna
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
Alberto Apellidos
 
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and PluginsWordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
Joe Querin
 
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Devin Walker
 
Metarefresh
MetarefreshMetarefresh
Metarefresh
Aakash Bapna
 
Speed Up Wordpress, Wordpress Horsepower
Speed Up Wordpress, Wordpress HorsepowerSpeed Up Wordpress, Wordpress Horsepower
Speed Up Wordpress, Wordpress Horsepower
Ross Johnson
 

What's hot (20)

Presentation1
Presentation1Presentation1
Presentation1
 
Optimizing web performance (Fronteers edition)
Optimizing web performance (Fronteers edition)Optimizing web performance (Fronteers edition)
Optimizing web performance (Fronteers edition)
 
Web performance
Web performanceWeb performance
Web performance
 
WordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & TuningWordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & Tuning
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress
 
Optimizing WordPress - WordPress SF Meetup April 2012
Optimizing WordPress -  WordPress SF Meetup April 2012Optimizing WordPress -  WordPress SF Meetup April 2012
Optimizing WordPress - WordPress SF Meetup April 2012
 
The Power of a Video Library - WordCamp Raleigh
The  Power of a Video Library - WordCamp RaleighThe  Power of a Video Library - WordCamp Raleigh
The Power of a Video Library - WordCamp Raleigh
 
Wordpress Page Load Speed - Kenneth sytian
Wordpress Page Load Speed - Kenneth sytianWordpress Page Load Speed - Kenneth sytian
Wordpress Page Load Speed - Kenneth sytian
 
Optimizing the performance of WordPress
Optimizing the performance of WordPressOptimizing the performance of WordPress
Optimizing the performance of WordPress
 
Front-End Performance Optimizing
Front-End Performance OptimizingFront-End Performance Optimizing
Front-End Performance Optimizing
 
Front End Website Optimization
Front End Website OptimizationFront End Website Optimization
Front End Website Optimization
 
Minimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tipsMinimize website page loading time – 20+ advanced SEO tips
Minimize website page loading time – 20+ advanced SEO tips
 
Speed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan HanesSpeed up your site! #wcmtl2015 by Meagan Hanes
Speed up your site! #wcmtl2015 by Meagan Hanes
 
Optimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get thereOptimizing Your WordPress Site: Why speed matters, and how to get there
Optimizing Your WordPress Site: Why speed matters, and how to get there
 
Meta Refresh 2014
Meta Refresh 2014Meta Refresh 2014
Meta Refresh 2014
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and PluginsWordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
 
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
Need for Speed: Website Edition – Website Optimization Tools and Techniques P...
 
Metarefresh
MetarefreshMetarefresh
Metarefresh
 
Speed Up Wordpress, Wordpress Horsepower
Speed Up Wordpress, Wordpress HorsepowerSpeed Up Wordpress, Wordpress Horsepower
Speed Up Wordpress, Wordpress Horsepower
 

Viewers also liked

PHP 5
PHP 5PHP 5
Developing social media guidelines for education, training and change managem...
Developing social media guidelines for education, training and change managem...Developing social media guidelines for education, training and change managem...
Developing social media guidelines for education, training and change managem...
UBC eHealth Strategy Office
 
TEKTIC: An overview of a Canadian university eHealth research collaboration
TEKTIC: An overview of a Canadian university eHealth research collaborationTEKTIC: An overview of a Canadian university eHealth research collaboration
TEKTIC: An overview of a Canadian university eHealth research collaboration
UBC eHealth Strategy Office
 
Online Risk Assessment for the General Public
Online Risk Assessment for the General Public Online Risk Assessment for the General Public
Online Risk Assessment for the General Public
UBC eHealth Strategy Office
 
2D barcodes (QR codes) and their applications
2D barcodes (QR codes) and their applications2D barcodes (QR codes) and their applications
2D barcodes (QR codes) and their applications
UBC eHealth Strategy Office
 
Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?
Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?
Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?
UBC eHealth Strategy Office
 
Chairman maotemplate
Chairman maotemplateChairman maotemplate
Chairman maotemplate
brycep711
 
Dream trip project
Dream trip projectDream trip project
Dream trip project
brycep711
 
Thrillers
ThrillersThrillers
Thrillers
megi93
 
Joomla 1.7 development
Joomla 1.7 developmentJoomla 1.7 development
Joomla 1.7 development
Rafael Corral
 
Media evaluation
Media evaluationMedia evaluation
Media evaluation
Caroline-media
 
Leveraging Mobile Technologies for Mental Health
Leveraging Mobile Technologies for Mental HealthLeveraging Mobile Technologies for Mental Health
Leveraging Mobile Technologies for Mental Health
UBC eHealth Strategy Office
 
Health care, startups and technology culture at #sxsw 2012
Health care, startups and technology culture at #sxsw 2012Health care, startups and technology culture at #sxsw 2012
Health care, startups and technology culture at #sxsw 2012
UBC eHealth Strategy Office
 
Green marketing (r)evolution
Green marketing (r)evolutionGreen marketing (r)evolution
Green marketing (r)evolution
Giuseppe Storelli
 
Green Marketing Revolution
Green Marketing RevolutionGreen Marketing Revolution
Green Marketing Revolution
Giuseppe Storelli
 

Viewers also liked (15)

PHP 5
PHP 5PHP 5
PHP 5
 
Developing social media guidelines for education, training and change managem...
Developing social media guidelines for education, training and change managem...Developing social media guidelines for education, training and change managem...
Developing social media guidelines for education, training and change managem...
 
TEKTIC: An overview of a Canadian university eHealth research collaboration
TEKTIC: An overview of a Canadian university eHealth research collaborationTEKTIC: An overview of a Canadian university eHealth research collaboration
TEKTIC: An overview of a Canadian university eHealth research collaboration
 
Online Risk Assessment for the General Public
Online Risk Assessment for the General Public Online Risk Assessment for the General Public
Online Risk Assessment for the General Public
 
2D barcodes (QR codes) and their applications
2D barcodes (QR codes) and their applications2D barcodes (QR codes) and their applications
2D barcodes (QR codes) and their applications
 
Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?
Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?
Remote Hands-On "YouTube" Mediated Education: What is the RHYME project?
 
Chairman maotemplate
Chairman maotemplateChairman maotemplate
Chairman maotemplate
 
Dream trip project
Dream trip projectDream trip project
Dream trip project
 
Thrillers
ThrillersThrillers
Thrillers
 
Joomla 1.7 development
Joomla 1.7 developmentJoomla 1.7 development
Joomla 1.7 development
 
Media evaluation
Media evaluationMedia evaluation
Media evaluation
 
Leveraging Mobile Technologies for Mental Health
Leveraging Mobile Technologies for Mental HealthLeveraging Mobile Technologies for Mental Health
Leveraging Mobile Technologies for Mental Health
 
Health care, startups and technology culture at #sxsw 2012
Health care, startups and technology culture at #sxsw 2012Health care, startups and technology culture at #sxsw 2012
Health care, startups and technology culture at #sxsw 2012
 
Green marketing (r)evolution
Green marketing (r)evolutionGreen marketing (r)evolution
Green marketing (r)evolution
 
Green Marketing Revolution
Green Marketing RevolutionGreen Marketing Revolution
Green Marketing Revolution
 

Similar to Speed!

High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
Siarhei Barysiuk
 
Frontend performance
Frontend performanceFrontend performance
Frontend performance
sacred 8
 
DrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingDrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizing
Ashok Modi
 
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
10 Tips to make your Website lightning-fast - SMX Stockholm 201210 Tips to make your Website lightning-fast - SMX Stockholm 2012
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
Bastian Grimm
 
High Performance Websites
High Performance WebsitesHigh Performance Websites
High Performance Websites
Aaron Grogg
 
Drupal Frontend Performance and Scalability
Drupal Frontend Performance and ScalabilityDrupal Frontend Performance and Scalability
Drupal Frontend Performance and Scalability
Ashok Modi
 
The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013
Bastian Grimm
 
Heavy Web Optimization: Frontend
Heavy Web Optimization: FrontendHeavy Web Optimization: Frontend
Heavy Web Optimization: Frontend
Võ Duy Tuấn
 
Template tuning for high performance
Template tuning for high performanceTemplate tuning for high performance
Template tuning for high performance
Chris Davenport
 
Cache is keeping you from reaching the full potential as a developer (word ca...
Cache is keeping you from reaching the full potential as a developer (word ca...Cache is keeping you from reaching the full potential as a developer (word ca...
Cache is keeping you from reaching the full potential as a developer (word ca...
Thomas Audunhus
 
High Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practicesHigh Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practices
Stoyan Stefanov
 
Website Performance
Website PerformanceWebsite Performance
Website Performance
Hugo Fonseca
 
Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)
clickramanm
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
Zero Point Development
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
Peter Lubbers
 
Website optimization
Website optimizationWebsite optimization
Website optimization
Mindfire Solutions
 
Client Side Performance @ Xero
Client Side Performance @ XeroClient Side Performance @ Xero
Client Side Performance @ Xero
Craig Walker
 
performance.ppt
performance.pptperformance.ppt
performance.ppt
fakeaccount225095
 
Caching 101
Caching 101Caching 101
Caching 101
Andy Melichar
 
WordPress website optimization
WordPress website optimizationWordPress website optimization
WordPress website optimization
Daniel Kanchev
 

Similar to Speed! (20)

High Performance Ajax Applications
High Performance Ajax ApplicationsHigh Performance Ajax Applications
High Performance Ajax Applications
 
Frontend performance
Frontend performanceFrontend performance
Frontend performance
 
DrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingDrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizing
 
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
10 Tips to make your Website lightning-fast - SMX Stockholm 201210 Tips to make your Website lightning-fast - SMX Stockholm 2012
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
 
High Performance Websites
High Performance WebsitesHigh Performance Websites
High Performance Websites
 
Drupal Frontend Performance and Scalability
Drupal Frontend Performance and ScalabilityDrupal Frontend Performance and Scalability
Drupal Frontend Performance and Scalability
 
The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013The Need for Speed - SMX Sydney 2013
The Need for Speed - SMX Sydney 2013
 
Heavy Web Optimization: Frontend
Heavy Web Optimization: FrontendHeavy Web Optimization: Frontend
Heavy Web Optimization: Frontend
 
Template tuning for high performance
Template tuning for high performanceTemplate tuning for high performance
Template tuning for high performance
 
Cache is keeping you from reaching the full potential as a developer (word ca...
Cache is keeping you from reaching the full potential as a developer (word ca...Cache is keeping you from reaching the full potential as a developer (word ca...
Cache is keeping you from reaching the full potential as a developer (word ca...
 
High Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practicesHigh Performance Web Pages - 20 new best practices
High Performance Web Pages - 20 new best practices
 
Website Performance
Website PerformanceWebsite Performance
Website Performance
 
Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
 
Website optimization
Website optimizationWebsite optimization
Website optimization
 
Client Side Performance @ Xero
Client Side Performance @ XeroClient Side Performance @ Xero
Client Side Performance @ Xero
 
performance.ppt
performance.pptperformance.ppt
performance.ppt
 
Caching 101
Caching 101Caching 101
Caching 101
 
WordPress website optimization
WordPress website optimizationWordPress website optimization
WordPress website optimization
 

Recently uploaded

The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
Awais Yaseen
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
rajancomputerfbd
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
Lidia A.
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
KAMAL CHOUDHARY
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 

Recently uploaded (20)

The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Choose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presenceChoose our Linux Web Hosting for a seamless and successful online presence
Choose our Linux Web Hosting for a seamless and successful online presence
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 

Speed!

  • 1. Speed!... it up please Rafael Corral, Lead Developer 'corePHP' CMS Expo 2011
  • 2. Hi!   Lead Developer @ 'corePHP'   Creator of WordPress for Joomla   Creator of JPhoto   Creator of jomCDN
  • 3. Speed? Who cares?   Your customers!   Customer satisfaction is important!   Happy customers = Returning customers   You   SEO Improvements   More page views   Improved server performance   Higher conversion rates
  • 4. Discovery   Who takes performance seriously?   Custom developed extensions for a CMS?   Do you rely on your website for most of your income?   Has no interest in looking at any code?
  • 5. What we think we are delivering…
  • 6. What we actually deliver…
  • 7. Why is my website slow?   How slow is slow?   Too many assets   Images not optimized   Files not compressed   Slow server   No caching   No CDN
  • 8. Your users are what matter!   Users are likely to leave when waiting   Akamai sets the bar to 2 seconds   Google sets the bar to 1.5 seconds   50% of users stated that a quick site is important for loyalty
  • 9. Your Goal: Reduce HTTP Requests Less is more Keep this in mind!
  • 10. Combine, combine, combine!   Combine all scripts into one script   Even if they are not needed for that page   Combine all CSS into a single style sheet   CSS can be tricky mostly when using a CMS Step 1
  • 11. Optimize images & CSS Sprites   Convert GIFs to PNGs, possible savings   http://www.smushit.com/ysmush.it/   Combine images to reduce HTTP requests   Group them by color   Arrange images horizontally (smaller file sizes) Step 2
  • 12. Optimize, Compress & Gzip   Optimize JS   http://closure-compiler.appspot.com/home   Compress CSS and JS   http://refresh-sf.com/yui/   http://tools.w3clubs.com/cssmin/   Gzip CSS and JS before sending them to the browser Step 3
  • 13. Script Placement   Place Stylesheets at the top   Inside the <head> tag   Place Scripts at the bottom   Before the ending </body> tag Step 4
  • 14. No 404s   HTTP calls are expensive!   Useless calls are even worse   If a css or js is not there, the browser tries to parse through that 404 page that the server returns. Step 5
  • 15. Use a CDN   Focus on dispersing static content only   Images, CSS, JS, Flash, etc...   Separate assets across domains   No more than 4 different domains   WordPress – W3 Total Cache   http://drupal.org/project/cdn   http://extensions.joomla.org/extensions/site- management/content-networking Step 6
  • 16. Cache   Server cache   APC   Opcode   Browser cache   Expires   Cache-Control   ETags Step 7
  • 17. Testing   Total page load time   Total page size   Number of assets   Time to render   Check Google Analytics statistics Step 8
  • 18. Tools   YSlow   Google Pagespeed   Pingdom   http://code.google.com/speed/
  • 19. Examples   Combined Files   `corePHP`   Optimized images, CSS Sprites and pre-loading   Google.com   Script placement   CDN   Google Maps   Caching   Mashable
  • 20. Examples   <FilesMatch "(?i)^.*.(ico|jpg|jpeg|png|js|css)$">   Header unset Last-Modified   Header set Expires "Fri, 21 Dec 2012 00:00:00 GMT”   Header set Cache-Control "public, no-transform”   </FilesMatch>
  • 21. Developer improvements   Use GET for AJAX requests   Uses one TCP packet instead of two   Post-load components   Load the JavaScript to do animation only when needed   Load images that are not needed   Preload components   Unconditional   Conditional   Anticipated   Use <link> over @import
  • 22. Developer improvements   Reduce number of DOM Elements   Don't scale images in HTML   Keep components under 25k   iPhone does not cache anything bigger   Avoid empty src=""   Lazy load images
  • 23. What about the server?   Think about the 80/20 rule   Ideally the page should be stitched together in 200-500ms   A page should load in 1.5 seconds   ~20% of the time you spend requesting the HTML   ~80% is spent retrieving the assets   Images   CSS   and JS files
  • 24. Thank you! Questions? or Site review?
  • 25. References   http://www.akamai.com/html/about/press/releases/2009/ press_091409.html   http://www.google.com/support/webmasters/bin/static.py? page=checklist.cs&tab=1095542   http://tools.pingdom.com/fpt/   http://googlewebmastercentral.blogspot.com/2010/04/using-site- speed-in-web-search-ranking.html   http://glinden.blogspot.com/2006/11/marissa-mayer-at- web-20.html   http://radar.oreilly.com/2008/08/radar-theme-web-ops.html   http://developer.yahoo.com/performance/rules.html   http://www.alistapart.com/articles/sprites