SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Downloaden Sie, um offline zu lesen
* (and to be completely honest... in anything)
Some simple tips
for front-end
performance in
WordPress*
Wednesday, 11 September 13
welcome. my name is:
Ian Parr
on Twitter:
@devolute
web:
devolute.net
i am a:
• Front-end web developer
• UX preacher
• Person
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
• UX.
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
• UX.
• Accessibility.
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
• UX.
• Accessibility.
• SEO issues.
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
• UX.
• Accessibility.
• SEO issues.
• Maintenance and 'updatability'.
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
• UX.
• Accessibility.
• SEO issues.
• Maintenance and 'updatability'.
• Often do end-to-end work (Cheers WordPress!)
Wednesday, 11 September 13
Lets talk about being a
‘Front-end developer’
• 43% developer, 39% design, 47% i dunno lol x
• Making things pretty.
• UX.
• Accessibility.
• SEO issues.
• Maintenance and 'updatability'.
• Often do end-to-end work (Cheers WordPress!)
• Performance and speed.
Wednesday, 11 September 13
Why is speed so important?
• Mobile is a big deal™
• We can't guarantee the quality of their
connection.
• We have no idea where they’re coming from.
Wednesday, 11 September 13
• Your customers might
viewing your website
on public transport.
• Even connections in the
middle of a city can be
awful.
• Low performance =
battery strain.
Wednesday, 11 September 13
• Your customers might
viewing your website on
public transport.
• Even connections in the
middle of a city can be
awful.
• Low performance =
battery strain.
Wednesday, 11 September 13
Lets make things faster
{demo!}
Wednesday, 11 September 13
I think we know who’s
responsible
• It’s all in the front-end!
• If it was a back-end problem then:
Wednesday, 11 September 13
I think we know who’s
responsible
1. I can't help you!
• It’s all in the front-end!
• If it was a back-end problem then:
Wednesday, 11 September 13
I think we know who’s
responsible
1. I can't help you!
2. Install a caching plug-in *
• It’s all in the front-end!
• If it was a back-end problem then:
Wednesday, 11 September 13
I think we know who’s
responsible
1. I can't help you!
2. Install a caching plug-in *
3. Talk to Tim about back-end performance in
WordPress
• It’s all in the front-end!
• If it was a back-end problem then:
Wednesday, 11 September 13
I think we know who’s
responsible
1. I can't help you!
2. Install a caching plug-in *
3. Talk to Tim about back-end performance in
WordPress
* He'll probably tell you not to install a caching plug-in.
• It’s all in the front-end!
• If it was a back-end problem then:
Wednesday, 11 September 13
As a Front-end developer
the buck stops here
• Most performance problems are in the front-end.
• How do we judge success?
• We need some numbers to help us along:
• Google Insights Pagespeed
• Webpagetest.org
Wednesday, 11 September 13
Wednesday, 11 September 13
Wednesday, 11 September 13
How do improve
performance in WordPress?
Wednesday, 11 September 13
How do improve
performance in WordPress?
We want to:
Wednesday, 11 September 13
How do improve
performance in WordPress?
We want to:
• Limit the number of requests.
Wednesday, 11 September 13
How do improve
performance in WordPress?
We want to:
• Limit the number of requests.
• DNS requests are ‘expensive’ in performance
terms.
Wednesday, 11 September 13
How do improve
performance in WordPress?
We want to:
• Limit the number of requests.
• DNS requests are ‘expensive’ in performance
terms.
• Reduce the size of those requests.
Wednesday, 11 September 13
Kill plug-ins
• They bring in so much of their own CSS and JS
separately.
• This often means more requests, even if you’re not
using them.
• I have a rant about plug-ins.
• We don’t have time for it.
Wednesday, 11 September 13
G-Zip
• Files compressed, so less data sent.
• Can be achieved by .htaccess tricks
• Take care. It’s easy to kill everyone
with .htaccess.
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/
html text/plain text/xml text/css application/x-javascript application/
javascript image/svg+xml
</ifmodule>
• What difference does this make?
Wednesday, 11 September 13
42.1kb - 9.3kb
=
200 Megabytes*
Wednesday, 11 September 13
42.1kb - 9.3kb
=
200 Megabytes*
* after 6380 visitors
Wednesday, 11 September 13
Minify
• Minifying makes CSS/JS smaller by
removing whitespace.
• Smaller file = quicker download.
• I used 'Smaller' on the Mac for CSS/JS.
• There exist a load of different tools and
workflows to do this via CLI.
Wednesday, 11 September 13
Lower number of requests
by grouping CSS/JS files
• In my opinion WordPress makes life harder than
other CMS's.
• This is one of the reasons I hate WordPress.
Wednesday, 11 September 13
Wednesday, 11 September 13
How do we combine
CSS/JS files?
Wednesday, 11 September 13
How do we combine
CSS/JS files?
• Write CSS properly.
Wednesday, 11 September 13
How do we combine
CSS/JS files?
• Write CSS properly.
• i.e. not spread out all over the place in a big mess (more on this later).
Wednesday, 11 September 13
How do we combine
CSS/JS files?
• Write CSS properly.
• i.e. not spread out all over the place in a big mess (more on this later).
• Pre-processors can help
Wednesday, 11 September 13
How do we combine
CSS/JS files?
• Write CSS properly.
• i.e. not spread out all over the place in a big mess (more on this later).
• Pre-processors can help
• I don't have time for this here!
Wednesday, 11 September 13
How do we combine
CSS/JS files?
• Write CSS properly.
• i.e. not spread out all over the place in a big mess (more on this later).
• Pre-processors can help
• I don't have time for this here!
• Also...
Wednesday, 11 September 13
We can use a plug-in
Wednesday, 11 September 13
Wednesday, 11 September 13
My workshop
• Performance
• RWD process
• Lots of other stuff
• £30 off! - code: MrParr30
http://makedo.in/practical-frontend-development/
Wednesday, 11 September 13

Weitere ähnliche Inhalte

Was ist angesagt?

WordCamp Sac '16 - a full stack workflow
WordCamp Sac '16 - a full stack workflowWordCamp Sac '16 - a full stack workflow
WordCamp Sac '16 - a full stack workflowJonathan Trujillo
 
Build the mobile web you want
Build the mobile web you wantBuild the mobile web you want
Build the mobile web you wantk88hudson
 
Use Powershell to make your life easy.
Use Powershell to make your life easy.Use Powershell to make your life easy.
Use Powershell to make your life easy.Aman Dhally
 
Build WordPress themes like a heavyweight - WordCamp Lancaster 2013
Build WordPress themes like a heavyweight - WordCamp Lancaster 2013Build WordPress themes like a heavyweight - WordCamp Lancaster 2013
Build WordPress themes like a heavyweight - WordCamp Lancaster 2013Jonny Allbut
 
Copass + Ruby on Rails = &lt;3 - From Simplicity to Complexity
Copass + Ruby on Rails = &lt;3 - From Simplicity to ComplexityCopass + Ruby on Rails = &lt;3 - From Simplicity to Complexity
Copass + Ruby on Rails = &lt;3 - From Simplicity to ComplexityAugustin Riedinger
 
Beautiful and Cheap Websites and Tools for Low-Tech Libraries
Beautiful and Cheap Websites and Tools for Low-Tech LibrariesBeautiful and Cheap Websites and Tools for Low-Tech Libraries
Beautiful and Cheap Websites and Tools for Low-Tech LibrariesVeronica R
 
Project Phoenix - From PHP to the Play Framework in 3 months
Project Phoenix - From PHP to the Play Framework in 3 monthsProject Phoenix - From PHP to the Play Framework in 3 months
Project Phoenix - From PHP to the Play Framework in 3 monthsManuel Bernhardt
 
Daniel Cobb Professional Persona Project
Daniel Cobb Professional Persona ProjectDaniel Cobb Professional Persona Project
Daniel Cobb Professional Persona ProjectDaniel Cobb
 
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017Doug Lawrence
 
Cheat Sheet to a Lean Website
Cheat Sheet to a Lean WebsiteCheat Sheet to a Lean Website
Cheat Sheet to a Lean WebsiteBarbara Bermes
 
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSMWebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSMBarbara Bermes
 
Why Speed Matters
Why Speed MattersWhy Speed Matters
Why Speed Mattersdarinrs
 
Cheap and Easy Tools
Cheap and Easy ToolsCheap and Easy Tools
Cheap and Easy Toolswebhostingguy
 
All about word press
All about word pressAll about word press
All about word pressDan Beil
 
The Transparent Web: Bridging the Chasm in Web Development
The Transparent Web: Bridging the Chasm in Web DevelopmentThe Transparent Web: Bridging the Chasm in Web Development
The Transparent Web: Bridging the Chasm in Web Developmenttwopoint718
 
Admin camp 2011-domino-sso-with-ad
Admin camp 2011-domino-sso-with-adAdmin camp 2011-domino-sso-with-ad
Admin camp 2011-domino-sso-with-adBill Buchan
 
Making ember-wormhole work with Fastboot
Making ember-wormhole work with FastbootMaking ember-wormhole work with Fastboot
Making ember-wormhole work with FastbootCory Forsyth
 
On Beyond Zenwalk - Specialty Distros
On Beyond Zenwalk - Specialty DistrosOn Beyond Zenwalk - Specialty Distros
On Beyond Zenwalk - Specialty DistrosLarry Cafiero
 

Was ist angesagt? (20)

WordCamp Sac '16 - a full stack workflow
WordCamp Sac '16 - a full stack workflowWordCamp Sac '16 - a full stack workflow
WordCamp Sac '16 - a full stack workflow
 
Build the mobile web you want
Build the mobile web you wantBuild the mobile web you want
Build the mobile web you want
 
Use Powershell to make your life easy.
Use Powershell to make your life easy.Use Powershell to make your life easy.
Use Powershell to make your life easy.
 
Build WordPress themes like a heavyweight - WordCamp Lancaster 2013
Build WordPress themes like a heavyweight - WordCamp Lancaster 2013Build WordPress themes like a heavyweight - WordCamp Lancaster 2013
Build WordPress themes like a heavyweight - WordCamp Lancaster 2013
 
Copass + Ruby on Rails = &lt;3 - From Simplicity to Complexity
Copass + Ruby on Rails = &lt;3 - From Simplicity to ComplexityCopass + Ruby on Rails = &lt;3 - From Simplicity to Complexity
Copass + Ruby on Rails = &lt;3 - From Simplicity to Complexity
 
Beautiful and Cheap Websites and Tools for Low-Tech Libraries
Beautiful and Cheap Websites and Tools for Low-Tech LibrariesBeautiful and Cheap Websites and Tools for Low-Tech Libraries
Beautiful and Cheap Websites and Tools for Low-Tech Libraries
 
Project Phoenix - From PHP to the Play Framework in 3 months
Project Phoenix - From PHP to the Play Framework in 3 monthsProject Phoenix - From PHP to the Play Framework in 3 months
Project Phoenix - From PHP to the Play Framework in 3 months
 
Daniel Cobb Professional Persona Project
Daniel Cobb Professional Persona ProjectDaniel Cobb Professional Persona Project
Daniel Cobb Professional Persona Project
 
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
WordPress Multisite | WordPress Meetup Saint Petersburg, Russia 13 January 2017
 
Cheat Sheet to a Lean Website
Cheat Sheet to a Lean WebsiteCheat Sheet to a Lean Website
Cheat Sheet to a Lean Website
 
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSMWebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
WebExpo Talk: EMBRACING PERFORMANCE IN TODAY’S MULTI-PLATFORM MACROCOSM
 
Child Theme
Child ThemeChild Theme
Child Theme
 
Why Speed Matters
Why Speed MattersWhy Speed Matters
Why Speed Matters
 
Cheap and Easy Tools
Cheap and Easy ToolsCheap and Easy Tools
Cheap and Easy Tools
 
All about word press
All about word pressAll about word press
All about word press
 
The Transparent Web: Bridging the Chasm in Web Development
The Transparent Web: Bridging the Chasm in Web DevelopmentThe Transparent Web: Bridging the Chasm in Web Development
The Transparent Web: Bridging the Chasm in Web Development
 
Ux testing recap
Ux testing recapUx testing recap
Ux testing recap
 
Admin camp 2011-domino-sso-with-ad
Admin camp 2011-domino-sso-with-adAdmin camp 2011-domino-sso-with-ad
Admin camp 2011-domino-sso-with-ad
 
Making ember-wormhole work with Fastboot
Making ember-wormhole work with FastbootMaking ember-wormhole work with Fastboot
Making ember-wormhole work with Fastboot
 
On Beyond Zenwalk - Specialty Distros
On Beyond Zenwalk - Specialty DistrosOn Beyond Zenwalk - Specialty Distros
On Beyond Zenwalk - Specialty Distros
 

Andere mochten auch

Eric Cleaver White Design / KMS Celebration Preso
Eric Cleaver White Design / KMS Celebration PresoEric Cleaver White Design / KMS Celebration Preso
Eric Cleaver White Design / KMS Celebration PresoEric White
 
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...ITviec
 
Using Story in UX
Using Story in UXUsing Story in UX
Using Story in UXjonshearer
 
The State of Front End Web Development 2011
The State of Front End Web Development 2011The State of Front End Web Development 2011
The State of Front End Web Development 2011Pascal Rettig
 
Ntt Data Advisory & Interactive 20120529
Ntt Data Advisory & Interactive 20120529Ntt Data Advisory & Interactive 20120529
Ntt Data Advisory & Interactive 20120529Dana Helland
 
Retail Displays - Front End Merchandising Trend 2011
Retail Displays - Front End Merchandising Trend 2011Retail Displays - Front End Merchandising Trend 2011
Retail Displays - Front End Merchandising Trend 2011richltd
 
UXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UXUXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UXStoian Dipchikov
 
Front-end architecture for cloud applications and Polymer
Front-end architecture for cloud applications and PolymerFront-end architecture for cloud applications and Polymer
Front-end architecture for cloud applications and PolymeruEngine Solutions
 
성공적인 서비스로의 플랫폼 선택
성공적인 서비스로의 플랫폼 선택성공적인 서비스로의 플랫폼 선택
성공적인 서비스로의 플랫폼 선택uEngine Solutions
 
Front End Development in Magento
Front End Development in MagentoFront End Development in Magento
Front End Development in MagentoEric Landmann
 
Front End Development - Beyond Javascript (Robin Cannon)
Front End Development - Beyond Javascript (Robin Cannon)Front End Development - Beyond Javascript (Robin Cannon)
Front End Development - Beyond Javascript (Robin Cannon)Future Insights
 
Introduction to Front End Engineering
Introduction to Front End EngineeringIntroduction to Front End Engineering
Introduction to Front End EngineeringMark Meeker
 
Technology Trends in 2013-2014
Technology Trends in 2013-2014Technology Trends in 2013-2014
Technology Trends in 2013-2014KMS Technology
 
UX, Front-end and Back-end: How front-end can help these guys?
UX, Front-end and Back-end: How front-end can help these guys?UX, Front-end and Back-end: How front-end can help these guys?
UX, Front-end and Back-end: How front-end can help these guys?Diego Eis
 
Front End Best Practices
Front End Best PracticesFront End Best Practices
Front End Best PracticesHolger Bartel
 
Designing for mobile. A UX perspective for developers
Designing for mobile. A UX perspective for developersDesigning for mobile. A UX perspective for developers
Designing for mobile. A UX perspective for developersOscar Gonzalez Garza
 
Code with Empathy: UX for Engineers and UX Developers
Code with Empathy: UX for Engineers and UX DevelopersCode with Empathy: UX for Engineers and UX Developers
Code with Empathy: UX for Engineers and UX DevelopersAnita Cheng
 

Andere mochten auch (19)

Eric Cleaver White Design / KMS Celebration Preso
Eric Cleaver White Design / KMS Celebration PresoEric Cleaver White Design / KMS Celebration Preso
Eric Cleaver White Design / KMS Celebration Preso
 
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
 
Using Story in UX
Using Story in UXUsing Story in UX
Using Story in UX
 
The State of Front End Web Development 2011
The State of Front End Web Development 2011The State of Front End Web Development 2011
The State of Front End Web Development 2011
 
Ntt Data Advisory & Interactive 20120529
Ntt Data Advisory & Interactive 20120529Ntt Data Advisory & Interactive 20120529
Ntt Data Advisory & Interactive 20120529
 
Retail Displays - Front End Merchandising Trend 2011
Retail Displays - Front End Merchandising Trend 2011Retail Displays - Front End Merchandising Trend 2011
Retail Displays - Front End Merchandising Trend 2011
 
UXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UXUXify 2015 - Front-end Developers' Checklist for Better UX
UXify 2015 - Front-end Developers' Checklist for Better UX
 
Front-end architecture for cloud applications and Polymer
Front-end architecture for cloud applications and PolymerFront-end architecture for cloud applications and Polymer
Front-end architecture for cloud applications and Polymer
 
KMS Introduction
KMS IntroductionKMS Introduction
KMS Introduction
 
성공적인 서비스로의 플랫폼 선택
성공적인 서비스로의 플랫폼 선택성공적인 서비스로의 플랫폼 선택
성공적인 서비스로의 플랫폼 선택
 
Front End Development in Magento
Front End Development in MagentoFront End Development in Magento
Front End Development in Magento
 
Front End Development - Beyond Javascript (Robin Cannon)
Front End Development - Beyond Javascript (Robin Cannon)Front End Development - Beyond Javascript (Robin Cannon)
Front End Development - Beyond Javascript (Robin Cannon)
 
Introduction to Front End Engineering
Introduction to Front End EngineeringIntroduction to Front End Engineering
Introduction to Front End Engineering
 
Technology Trends in 2013-2014
Technology Trends in 2013-2014Technology Trends in 2013-2014
Technology Trends in 2013-2014
 
UX, Front-end and Back-end: How front-end can help these guys?
UX, Front-end and Back-end: How front-end can help these guys?UX, Front-end and Back-end: How front-end can help these guys?
UX, Front-end and Back-end: How front-end can help these guys?
 
Front End Best Practices
Front End Best PracticesFront End Best Practices
Front End Best Practices
 
Designing for mobile. A UX perspective for developers
Designing for mobile. A UX perspective for developersDesigning for mobile. A UX perspective for developers
Designing for mobile. A UX perspective for developers
 
ブロックチェーンの仕組みと動向(入門編)
ブロックチェーンの仕組みと動向(入門編)ブロックチェーンの仕組みと動向(入門編)
ブロックチェーンの仕組みと動向(入門編)
 
Code with Empathy: UX for Engineers and UX Developers
Code with Empathy: UX for Engineers and UX DevelopersCode with Empathy: UX for Engineers and UX Developers
Code with Empathy: UX for Engineers and UX Developers
 

Ähnlich wie Some simple tips for front-end performance in WordPress

Slaying Bugs with Gradle and Jenkins
Slaying Bugs with Gradle and JenkinsSlaying Bugs with Gradle and Jenkins
Slaying Bugs with Gradle and JenkinsDavid Kay
 
Cooking an Omelette with Chef
Cooking an Omelette with ChefCooking an Omelette with Chef
Cooking an Omelette with Chefctaintor
 
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of FacebookTech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of FacebookThe Hive
 
Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...
Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...
Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...hannonhill
 
How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...
How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...
How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...Amazon Web Services
 
[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...
[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...
[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...Nuxeo
 
Dodging Speed Bumps When You Take Your Prototype on the Road
Dodging Speed Bumps When You Take Your Prototype on the RoadDodging Speed Bumps When You Take Your Prototype on the Road
Dodging Speed Bumps When You Take Your Prototype on the RoadWill Hacker
 
Architecture: ember.js and AngularJS
Architecture: ember.js and AngularJSArchitecture: ember.js and AngularJS
Architecture: ember.js and AngularJSlrdesign
 
WordCamp Victoria 2013: Plugin Development 2013
WordCamp Victoria 2013: Plugin Development 2013WordCamp Victoria 2013: Plugin Development 2013
WordCamp Victoria 2013: Plugin Development 2013Joey Kudish
 
Inside Look at Mura CMS Themeing
Inside Look at Mura CMS ThemeingInside Look at Mura CMS Themeing
Inside Look at Mura CMS ThemeingRonnie Duke
 
Hammering Responsive Web Design Into Shape
Hammering Responsive Web Design Into ShapeHammering Responsive Web Design Into Shape
Hammering Responsive Web Design Into ShapeKen Tabor
 
How I Learned To Stop Worrying & Love HTML5
How I Learned To Stop Worrying & Love HTML5How I Learned To Stop Worrying & Love HTML5
How I Learned To Stop Worrying & Love HTML5Dale Cruse
 
Building a Single-Page App: Backbone, Node.js, and Beyond
Building a Single-Page App: Backbone, Node.js, and BeyondBuilding a Single-Page App: Backbone, Node.js, and Beyond
Building a Single-Page App: Backbone, Node.js, and BeyondSpike Brehm
 
Calabash - Karl and Jonas
Calabash - Karl and JonasCalabash - Karl and Jonas
Calabash - Karl and JonasXamarin
 
OmniOS Motivation and Design ~ LISA 2012
OmniOS Motivation and Design ~ LISA 2012OmniOS Motivation and Design ~ LISA 2012
OmniOS Motivation and Design ~ LISA 2012Theo Schlossnagle
 
Real Developer Tools for WordPress by Stefan Didak
Real Developer Tools for WordPress by Stefan DidakReal Developer Tools for WordPress by Stefan Didak
Real Developer Tools for WordPress by Stefan DidakEast Bay WordPress Meetup
 
2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services
2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services 2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services
2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services PHP Conference Argentina
 
Escalando una PHP App con DB sharding - PHP Conference
Escalando una PHP App con DB sharding - PHP ConferenceEscalando una PHP App con DB sharding - PHP Conference
Escalando una PHP App con DB sharding - PHP ConferenceMatias Paterlini
 

Ähnlich wie Some simple tips for front-end performance in WordPress (20)

Slaying Bugs with Gradle and Jenkins
Slaying Bugs with Gradle and JenkinsSlaying Bugs with Gradle and Jenkins
Slaying Bugs with Gradle and Jenkins
 
Cooking an Omelette with Chef
Cooking an Omelette with ChefCooking an Omelette with Chef
Cooking an Omelette with Chef
 
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of FacebookTech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
Tech Talk: RocksDB Slides by Dhruba Borthakur & Haobo Xu of Facebook
 
Contributing to WordPress
Contributing to WordPressContributing to WordPress
Contributing to WordPress
 
Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...
Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...
Ingesting Banner output Schedule Classes into Cascade Server (In Java - Web S...
 
How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...
How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...
How Trend Micro Build their Enterprise Security Offering on AWS (SEC307) | AW...
 
[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...
[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...
[Nuxeo World 2013] DID YOU SAY DAM? DIGITAL ASSET MANAGEMENT WITH THE NUXEO P...
 
Dodging Speed Bumps When You Take Your Prototype on the Road
Dodging Speed Bumps When You Take Your Prototype on the RoadDodging Speed Bumps When You Take Your Prototype on the Road
Dodging Speed Bumps When You Take Your Prototype on the Road
 
Architecture: ember.js and AngularJS
Architecture: ember.js and AngularJSArchitecture: ember.js and AngularJS
Architecture: ember.js and AngularJS
 
WordCamp Victoria 2013: Plugin Development 2013
WordCamp Victoria 2013: Plugin Development 2013WordCamp Victoria 2013: Plugin Development 2013
WordCamp Victoria 2013: Plugin Development 2013
 
Inside Look at Mura CMS Themeing
Inside Look at Mura CMS ThemeingInside Look at Mura CMS Themeing
Inside Look at Mura CMS Themeing
 
Hammering Responsive Web Design Into Shape
Hammering Responsive Web Design Into ShapeHammering Responsive Web Design Into Shape
Hammering Responsive Web Design Into Shape
 
How I Learned To Stop Worrying & Love HTML5
How I Learned To Stop Worrying & Love HTML5How I Learned To Stop Worrying & Love HTML5
How I Learned To Stop Worrying & Love HTML5
 
Building a Single-Page App: Backbone, Node.js, and Beyond
Building a Single-Page App: Backbone, Node.js, and BeyondBuilding a Single-Page App: Backbone, Node.js, and Beyond
Building a Single-Page App: Backbone, Node.js, and Beyond
 
Qcon talk
Qcon talkQcon talk
Qcon talk
 
Calabash - Karl and Jonas
Calabash - Karl and JonasCalabash - Karl and Jonas
Calabash - Karl and Jonas
 
OmniOS Motivation and Design ~ LISA 2012
OmniOS Motivation and Design ~ LISA 2012OmniOS Motivation and Design ~ LISA 2012
OmniOS Motivation and Design ~ LISA 2012
 
Real Developer Tools for WordPress by Stefan Didak
Real Developer Tools for WordPress by Stefan DidakReal Developer Tools for WordPress by Stefan Didak
Real Developer Tools for WordPress by Stefan Didak
 
2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services
2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services 2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services
2013 - Matías Paterlini: Escalando PHP con sharding y Amazon Web Services
 
Escalando una PHP App con DB sharding - PHP Conference
Escalando una PHP App con DB sharding - PHP ConferenceEscalando una PHP App con DB sharding - PHP Conference
Escalando una PHP App con DB sharding - PHP Conference
 

Kürzlich hochgeladen

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Kürzlich hochgeladen (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Some simple tips for front-end performance in WordPress

  • 1. * (and to be completely honest... in anything) Some simple tips for front-end performance in WordPress* Wednesday, 11 September 13
  • 2. welcome. my name is: Ian Parr on Twitter: @devolute web: devolute.net i am a: • Front-end web developer • UX preacher • Person Wednesday, 11 September 13
  • 3. Lets talk about being a ‘Front-end developer’ Wednesday, 11 September 13
  • 4. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x Wednesday, 11 September 13
  • 5. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. Wednesday, 11 September 13
  • 6. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. • UX. Wednesday, 11 September 13
  • 7. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. • UX. • Accessibility. Wednesday, 11 September 13
  • 8. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. • UX. • Accessibility. • SEO issues. Wednesday, 11 September 13
  • 9. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. • UX. • Accessibility. • SEO issues. • Maintenance and 'updatability'. Wednesday, 11 September 13
  • 10. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. • UX. • Accessibility. • SEO issues. • Maintenance and 'updatability'. • Often do end-to-end work (Cheers WordPress!) Wednesday, 11 September 13
  • 11. Lets talk about being a ‘Front-end developer’ • 43% developer, 39% design, 47% i dunno lol x • Making things pretty. • UX. • Accessibility. • SEO issues. • Maintenance and 'updatability'. • Often do end-to-end work (Cheers WordPress!) • Performance and speed. Wednesday, 11 September 13
  • 12. Why is speed so important? • Mobile is a big deal™ • We can't guarantee the quality of their connection. • We have no idea where they’re coming from. Wednesday, 11 September 13
  • 13. • Your customers might viewing your website on public transport. • Even connections in the middle of a city can be awful. • Low performance = battery strain. Wednesday, 11 September 13
  • 14. • Your customers might viewing your website on public transport. • Even connections in the middle of a city can be awful. • Low performance = battery strain. Wednesday, 11 September 13
  • 15. Lets make things faster {demo!} Wednesday, 11 September 13
  • 16. I think we know who’s responsible • It’s all in the front-end! • If it was a back-end problem then: Wednesday, 11 September 13
  • 17. I think we know who’s responsible 1. I can't help you! • It’s all in the front-end! • If it was a back-end problem then: Wednesday, 11 September 13
  • 18. I think we know who’s responsible 1. I can't help you! 2. Install a caching plug-in * • It’s all in the front-end! • If it was a back-end problem then: Wednesday, 11 September 13
  • 19. I think we know who’s responsible 1. I can't help you! 2. Install a caching plug-in * 3. Talk to Tim about back-end performance in WordPress • It’s all in the front-end! • If it was a back-end problem then: Wednesday, 11 September 13
  • 20. I think we know who’s responsible 1. I can't help you! 2. Install a caching plug-in * 3. Talk to Tim about back-end performance in WordPress * He'll probably tell you not to install a caching plug-in. • It’s all in the front-end! • If it was a back-end problem then: Wednesday, 11 September 13
  • 21. As a Front-end developer the buck stops here • Most performance problems are in the front-end. • How do we judge success? • We need some numbers to help us along: • Google Insights Pagespeed • Webpagetest.org Wednesday, 11 September 13
  • 24. How do improve performance in WordPress? Wednesday, 11 September 13
  • 25. How do improve performance in WordPress? We want to: Wednesday, 11 September 13
  • 26. How do improve performance in WordPress? We want to: • Limit the number of requests. Wednesday, 11 September 13
  • 27. How do improve performance in WordPress? We want to: • Limit the number of requests. • DNS requests are ‘expensive’ in performance terms. Wednesday, 11 September 13
  • 28. How do improve performance in WordPress? We want to: • Limit the number of requests. • DNS requests are ‘expensive’ in performance terms. • Reduce the size of those requests. Wednesday, 11 September 13
  • 29. Kill plug-ins • They bring in so much of their own CSS and JS separately. • This often means more requests, even if you’re not using them. • I have a rant about plug-ins. • We don’t have time for it. Wednesday, 11 September 13
  • 30. G-Zip • Files compressed, so less data sent. • Can be achieved by .htaccess tricks • Take care. It’s easy to kill everyone with .htaccess. <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/ html text/plain text/xml text/css application/x-javascript application/ javascript image/svg+xml </ifmodule> • What difference does this make? Wednesday, 11 September 13
  • 31. 42.1kb - 9.3kb = 200 Megabytes* Wednesday, 11 September 13
  • 32. 42.1kb - 9.3kb = 200 Megabytes* * after 6380 visitors Wednesday, 11 September 13
  • 33. Minify • Minifying makes CSS/JS smaller by removing whitespace. • Smaller file = quicker download. • I used 'Smaller' on the Mac for CSS/JS. • There exist a load of different tools and workflows to do this via CLI. Wednesday, 11 September 13
  • 34. Lower number of requests by grouping CSS/JS files • In my opinion WordPress makes life harder than other CMS's. • This is one of the reasons I hate WordPress. Wednesday, 11 September 13
  • 36. How do we combine CSS/JS files? Wednesday, 11 September 13
  • 37. How do we combine CSS/JS files? • Write CSS properly. Wednesday, 11 September 13
  • 38. How do we combine CSS/JS files? • Write CSS properly. • i.e. not spread out all over the place in a big mess (more on this later). Wednesday, 11 September 13
  • 39. How do we combine CSS/JS files? • Write CSS properly. • i.e. not spread out all over the place in a big mess (more on this later). • Pre-processors can help Wednesday, 11 September 13
  • 40. How do we combine CSS/JS files? • Write CSS properly. • i.e. not spread out all over the place in a big mess (more on this later). • Pre-processors can help • I don't have time for this here! Wednesday, 11 September 13
  • 41. How do we combine CSS/JS files? • Write CSS properly. • i.e. not spread out all over the place in a big mess (more on this later). • Pre-processors can help • I don't have time for this here! • Also... Wednesday, 11 September 13
  • 42. We can use a plug-in Wednesday, 11 September 13
  • 44. My workshop • Performance • RWD process • Lots of other stuff • £30 off! - code: MrParr30 http://makedo.in/practical-frontend-development/ Wednesday, 11 September 13