Presented by Chris Ruppel
Hint: not theming :)
flashy effects < lean and fast
Users want performance over cool effects.
(Even when they don't realize it.)
Mobile devices increase these problems.
Frontend development: How can I build/debug faster?
Web Performance: How do I make pages load faster?
Drupal-specific tools: It is DrupalCon after all..
In the early days you downloaded extensions
Now it's included and browsers share features.
Why? They all want the Open Web to win.
want to hear from YOU
(Similar features available in all browsers)
(while the devtools are open)
Great for testing network waterfalls!
The first step to debug load-time issues
Applying optimization where none is needed can actually slow your site down in some cases
Act on problems that you discover on
each site that you test
not according to "best practices"
The real fun starts once you've got these under control.
♥.¸¸.•°*☆ (づ◕‿◕｡)づ <(^_^<)=- ☆*°•.¸¸.♥
by Filament Group
Problem: CSS is loaded when it is not needed.
Sometimes it will never be used. It's just dead weight.
Example: mobile phone downloading CSS with
@media (min-width: 1400px)
then it downloads your big background images
Solution: eCSSential will only load CSS that is needed immediately. It lazy-loads CSS that might be used.
Problem: we need different images for different device contexts. Affects usability and page weight.
Picturefill was developed to explore responsive images before a native browser implementation emerges.
Problem: user-agent sniffing is error-prone;
unable to scale as more devices are created
Solution: Detect individual features on each browser
Bonus: load additional files depending on the
test results (conditional loading)
Problem: most JS within Drupal core is not minified.
Solution: Minify files to make them smaller and decrease download time.
Problem: sometimes it's hard to keep track of what Modernizr tests your Drupal site needs.
Available to all themes and modules.
Disclosure: I maintain this Drupal module.
D7 - Module available at http://drupal.org/project/resp_img
D8 - Core implementation WIP http://drupal.org/node/1170478
Drupal 8 efforts are helping influence the formation of this web standard
Grades your web pages and makes suggestions to improve your frontend performance
Available as a browser extension
It won't grade your site, but it gives you the raw data that you can get from a waterfall.
Run tests from many locations worldwide
Many browsers (IE6+, FF, Chrome)
What does it test?
Mobile performance testing
chris ❀ fourkitchens.com