SlideShare a Scribd company logo
Going fast == Accessible && mobile friendly
●

●

●

●

●

●

Eliminate blocking. Your goal is to ensure all CSS and HTML loads without anything getting in the way.
○ If your CSS file is gigantic, you may try dividing it in 2­3 css files, which is more http requests,
but may load better.
■ Sometimes if you combine too much css or js into 1 file, it blocks, when its a matter of
life or death, and it is, I always test this. It takes time. Take it.
Your server declares the character encoding via apache thats good, here are <head> rules, generally.
○ Unless apache declares utf­8 charset, define the charset directly after the open <head>. This is
in the HTML5 spec
○ Include external[from other domains] stylesheets first, then include your locally hosted css for
concurrent loading
○ Defer all js to the </body> ­­ I make a concession for analytics, I want that data. You do too.
Eliminate waste
○ Images are a priority.
■ Lots of tiny images should be in a spritemap, Wearekiss makes a great tool for this
■ Full Color/Photos should be progressive JPGs. Play with the blur and quality to get
optimal. Quality should end in a 1 or 6, thats where the changes are.
■ Without exception, run all PNG files through tinypng.org. It beats photoshop.
■ Crop images tight ­ 0 white space, I go down to the pixel most of the time.
○ CSS
■ Use "dust me selectors" plugin in firefox to remove unused styles from CSS, this thing is
awesome.
■ Use dreamweaver ‘apply source formatting’ or something that puts css rules 1 per line,
this makes it easier for dust me ollectors.
■ When re­adding css, use the same order they were originally in to avoid issues.
■ Use simple selectors, not huge chained ones. This is bad for browser reflow
■ Avoid unnecessary dom depth. Each level of dom depth hurts browser reflow.
○ JS
■ Avoid using unnecessary plugins for everything, try to find raw javascript options. I literally
always use jquery though, make sure you use 1.x, not 2.x [compatibility]. Defer to the
bottom
■ Consider defer and ajax attributes for external sheets, I never use this, you may find a
use.
Avoid excessive CDNs/externally referenced sheets (your sites the first I’ve seen have this issue,
this is a new rule for me)
○ Use page speed test to ensure you’re getting concurrent connections. The Apache Keep­alives
setting takes care of this on your server, and its good, but all the off­site content is killing you.
W3C
○ Matt cutts at google says this isn't an SEO factor or something like that. That isnt true, it is true
the way he says it though. W3C validation is the difference between Quirks mode and
Compatibility mode.
■ Quirks = 1 error or more, this document recalculates like crazy expecting to
compensate. This is hash on mobile devices. It’s a big deal.
■ Compatibility = The browser knows what to expect. Every browser in the future will also
render that page correctly.
Use Caching, it’d be a terrible shame to require venture capital because while everyone is going crazy
being too busy with the mountain customer base, thousands/millions of un­cached requests eat away at
your progress and equity.

I will say this site is incredibly snappy though and I do wonder if the CDN’s are to blame for that. Always favor
the render start, time to first byte and render complete metrics over the load­time metrics.
What matters:
● The user is #1
● Milliseconds matter.
Test test tes test again.
● WebpageTest.org
○ Select a server at your highest priority target. If it’s the US, test from the west or east coast. Most
●
●

our servers are in Kansas, Utah, Texas.
Google page speed tool
○ If it tells your your images are fine, don’t trust it. Remember images are the biggest wins.
W3cValidator
○ Not 1 error.

Written by Devon Auerswald for Symbiotic.me Outsourcing
https://symbiotic.me/

More Related Content

PPTX
Harder, Better, Faster, Stronger
PDF
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
PDF
Cache all the things #DCLondon
PPTX
Word press security basics
PDF
Screaming Fast Wpmu
PPTX
Scalability
PPT
5 things MySql
PDF
Optimize drupal
Harder, Better, Faster, Stronger
Webinar slides: Become a MongoDB DBA - What to Monitor (if you’re really a My...
Cache all the things #DCLondon
Word press security basics
Screaming Fast Wpmu
Scalability
5 things MySql
Optimize drupal

What's hot (20)

PDF
Memcache and Drupal - Vaibhav Jain
PPTX
Caching concepts part 1
PPTX
web optimizations
PDF
Scaling WordPress
PDF
Word press security checklist
PDF
Elasticsearch 1.x Cluster Installation (VirtualBox)
PDF
Distributed Data Processing Workshop - SBU
PDF
Cache all the things - A guide to caching Drupal
PDF
Surviving Slashdot
PPT
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
ODP
Speeding up your Drupal site
PDF
A practical 10m intro to PHP on Heroku
ODP
MySQL and SSD
PDF
Word press beirut 9th meetup march
PDF
Performance and optimization
PDF
Prometheus lightning talk (Devops Dublin March 2015)
PPTX
HTML / CSS / JS Web basics
PPTX
PDF
Wolfram Kriesing - EcmaScript6 for real - code.talks 2015
PDF
Hadoop 2.x HDFS Cluster Installation (VirtualBox)
Memcache and Drupal - Vaibhav Jain
Caching concepts part 1
web optimizations
Scaling WordPress
Word press security checklist
Elasticsearch 1.x Cluster Installation (VirtualBox)
Distributed Data Processing Workshop - SBU
Cache all the things - A guide to caching Drupal
Surviving Slashdot
High Performance Wordpress: “Faster, Cheaper, Easier : Pick Three”
Speeding up your Drupal site
A practical 10m intro to PHP on Heroku
MySQL and SSD
Word press beirut 9th meetup march
Performance and optimization
Prometheus lightning talk (Devops Dublin March 2015)
HTML / CSS / JS Web basics
Wolfram Kriesing - EcmaScript6 for real - code.talks 2015
Hadoop 2.x HDFS Cluster Installation (VirtualBox)
Ad

Similar to Page speed optimization (20)

PPTX
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
PDF
The Need for Speed (5 Performance Optimization Tipps) - brightonSEO 2014
PPTX
The Need for Speed - SMX Sydney 2013
PDF
PDF
How to optimize and speed-up your website. The complete guide.
KEY
Faster Frontends
PPT
Frontend performance
PDF
Meta Refresh 2014
PDF
DrupalCampLA 2011 - Drupal frontend-optimizing
PDF
How to speed up your website
PPT
Web performance Talk
PPTX
Front end optimization
KEY
Websites On Speed
PPTX
How to Optimize Website Performance in 2025 Tips and Tools
PPTX
How to Optimize Website Performance in 2025 Tips and Tools
PDF
A little journey into website optimization
PPTX
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
PPTX
Optimizing website performance
PPTX
Website Performance
PPTX
Minimize website page loading time – 20+ advanced SEO tips
10 Tips to make your Website lightning-fast - SMX Stockholm 2012
The Need for Speed (5 Performance Optimization Tipps) - brightonSEO 2014
The Need for Speed - SMX Sydney 2013
How to optimize and speed-up your website. The complete guide.
Faster Frontends
Frontend performance
Meta Refresh 2014
DrupalCampLA 2011 - Drupal frontend-optimizing
How to speed up your website
Web performance Talk
Front end optimization
Websites On Speed
How to Optimize Website Performance in 2025 Tips and Tools
How to Optimize Website Performance in 2025 Tips and Tools
A little journey into website optimization
SearchLove San Diego 2018 | Mat Clayton | Site Speed for Digital Marketers
Optimizing website performance
Website Performance
Minimize website page loading time – 20+ advanced SEO tips
Ad

More from Bitsytask (20)

PDF
Lehman Brothers ALT-A Mortgage Docs, December 18, 2006
PDF
BNC Subprime Mortgage Ratesheet 7-2006
PDF
Impac libor option arm 2nd matrix
PDF
New Century Subprime Mortgage Matrix (Stated Doc / 80%, 550 FICO, 50% DTI) 7-...
PDF
Countrywide Option Arm Loans (Negative Amortization) July 26 2006
PDF
Lehman Brothers ALT-A mortgage outline August 18 2006
PDF
Credit Suisse sellers guide (secondary market) August 2006
PDF
GMAC Mortgage Underwriting Guidelines 9-11-2006
PDF
Operation Ajax Declassified PDF 7 of 9
PDF
Operation Ajax Declassified PDF 6 of 9
PDF
Operation Ajax Declassified PDF 5 of 9
PDF
Operation Ajax Declassified PDF 5 of 9
PDF
Operation Ajax Declassified PDF 3 of 9
PDF
Operation Ajax Declassified PDF 2 of 9
PDF
Operation Ajax Declassified PDF 1 of 9
PDF
Operation Ajax Declassified PDF Appendix E
PDF
Operation Ajax Declassified PDF Appendix D
PDF
Operation Ajax Declassified PDF Appendix B
PDF
Operation Ajax Declassified PDF 9 of 9
PDF
the crypto republic
Lehman Brothers ALT-A Mortgage Docs, December 18, 2006
BNC Subprime Mortgage Ratesheet 7-2006
Impac libor option arm 2nd matrix
New Century Subprime Mortgage Matrix (Stated Doc / 80%, 550 FICO, 50% DTI) 7-...
Countrywide Option Arm Loans (Negative Amortization) July 26 2006
Lehman Brothers ALT-A mortgage outline August 18 2006
Credit Suisse sellers guide (secondary market) August 2006
GMAC Mortgage Underwriting Guidelines 9-11-2006
Operation Ajax Declassified PDF 7 of 9
Operation Ajax Declassified PDF 6 of 9
Operation Ajax Declassified PDF 5 of 9
Operation Ajax Declassified PDF 5 of 9
Operation Ajax Declassified PDF 3 of 9
Operation Ajax Declassified PDF 2 of 9
Operation Ajax Declassified PDF 1 of 9
Operation Ajax Declassified PDF Appendix E
Operation Ajax Declassified PDF Appendix D
Operation Ajax Declassified PDF Appendix B
Operation Ajax Declassified PDF 9 of 9
the crypto republic

Recently uploaded (20)

PPTX
cấu trúc sử dụng mẫu Cause - Effects.pptx
PPTX
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
PPTX
How to Deal with Imposter Syndrome for Personality Development?
PPTX
PERDEV-LESSON-3 DEVELOPMENTMENTAL STAGES.pptx
PDF
Top 10 Visionary Entrepreneurs to Watch in 2025
PPT
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
PDF
SEX-GENDER-AND-SEXUALITY-LESSON-1-M (2).pdf
PDF
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
PPTX
Understanding the Self power point presentation
PDF
My 'novel' Account of Human Possibility pdf.pdf
PPTX
Travel mania in india needs to change the world
PPTX
Identity Development in Adolescence.pptx
PPTX
Presentation on interview preparation.pt
PDF
Attachment Theory What Childhood Says About Your Relationships.pdf
PPTX
diasspresentationndkcnskndncelklkfndc.pptx
PDF
Red Light Wali Muskurahat – A Heart-touching Hindi Story
PDF
The Zeigarnik Effect by Meenakshi Khakat.pdf
PPTX
Self -Management and Self Awareness.pptx
PPTX
Pradeep Kumar Roll no.30 Paper I.pptx....
PPTX
Learn about numerology and do tarot reading
cấu trúc sử dụng mẫu Cause - Effects.pptx
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
How to Deal with Imposter Syndrome for Personality Development?
PERDEV-LESSON-3 DEVELOPMENTMENTAL STAGES.pptx
Top 10 Visionary Entrepreneurs to Watch in 2025
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
SEX-GENDER-AND-SEXUALITY-LESSON-1-M (2).pdf
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
Understanding the Self power point presentation
My 'novel' Account of Human Possibility pdf.pdf
Travel mania in india needs to change the world
Identity Development in Adolescence.pptx
Presentation on interview preparation.pt
Attachment Theory What Childhood Says About Your Relationships.pdf
diasspresentationndkcnskndncelklkfndc.pptx
Red Light Wali Muskurahat – A Heart-touching Hindi Story
The Zeigarnik Effect by Meenakshi Khakat.pdf
Self -Management and Self Awareness.pptx
Pradeep Kumar Roll no.30 Paper I.pptx....
Learn about numerology and do tarot reading

Page speed optimization

  • 1. Going fast == Accessible && mobile friendly ● ● ● ● ● ● Eliminate blocking. Your goal is to ensure all CSS and HTML loads without anything getting in the way. ○ If your CSS file is gigantic, you may try dividing it in 2­3 css files, which is more http requests, but may load better. ■ Sometimes if you combine too much css or js into 1 file, it blocks, when its a matter of life or death, and it is, I always test this. It takes time. Take it. Your server declares the character encoding via apache thats good, here are <head> rules, generally. ○ Unless apache declares utf­8 charset, define the charset directly after the open <head>. This is in the HTML5 spec ○ Include external[from other domains] stylesheets first, then include your locally hosted css for concurrent loading ○ Defer all js to the </body> ­­ I make a concession for analytics, I want that data. You do too. Eliminate waste ○ Images are a priority. ■ Lots of tiny images should be in a spritemap, Wearekiss makes a great tool for this ■ Full Color/Photos should be progressive JPGs. Play with the blur and quality to get optimal. Quality should end in a 1 or 6, thats where the changes are. ■ Without exception, run all PNG files through tinypng.org. It beats photoshop. ■ Crop images tight ­ 0 white space, I go down to the pixel most of the time. ○ CSS ■ Use "dust me selectors" plugin in firefox to remove unused styles from CSS, this thing is awesome. ■ Use dreamweaver ‘apply source formatting’ or something that puts css rules 1 per line, this makes it easier for dust me ollectors. ■ When re­adding css, use the same order they were originally in to avoid issues. ■ Use simple selectors, not huge chained ones. This is bad for browser reflow ■ Avoid unnecessary dom depth. Each level of dom depth hurts browser reflow. ○ JS ■ Avoid using unnecessary plugins for everything, try to find raw javascript options. I literally always use jquery though, make sure you use 1.x, not 2.x [compatibility]. Defer to the bottom ■ Consider defer and ajax attributes for external sheets, I never use this, you may find a use. Avoid excessive CDNs/externally referenced sheets (your sites the first I’ve seen have this issue, this is a new rule for me) ○ Use page speed test to ensure you’re getting concurrent connections. The Apache Keep­alives setting takes care of this on your server, and its good, but all the off­site content is killing you. W3C ○ Matt cutts at google says this isn't an SEO factor or something like that. That isnt true, it is true the way he says it though. W3C validation is the difference between Quirks mode and Compatibility mode. ■ Quirks = 1 error or more, this document recalculates like crazy expecting to compensate. This is hash on mobile devices. It’s a big deal. ■ Compatibility = The browser knows what to expect. Every browser in the future will also render that page correctly. Use Caching, it’d be a terrible shame to require venture capital because while everyone is going crazy being too busy with the mountain customer base, thousands/millions of un­cached requests eat away at your progress and equity. I will say this site is incredibly snappy though and I do wonder if the CDN’s are to blame for that. Always favor the render start, time to first byte and render complete metrics over the load­time metrics. What matters: ● The user is #1 ● Milliseconds matter. Test test tes test again. ● WebpageTest.org ○ Select a server at your highest priority target. If it’s the US, test from the west or east coast. Most