Uglifying in Public
Website design for speed, accessibility, and staff delight
Cody Hanson and Eric Larson
Web Development
University of Minnesota Libraries
http://z.umn.edu/uglify
Going to talk about:
Redesign - last half of last year
Principles
Process
Tools/techniques
www.lib.umn.edu
3+ year old design (it had been an eventful three years)
Aborted contractor agreement
ILS/discovery layer changes
Why not one more change?
Opinionated design
(informed opinion)
Often used to describe Rails
Expertise-driven
Data-driven
We're not great at this. If you want more info, get a time machine...
Go see Matt Reidsma's talk yesterday.
Annual pageviews for www.lib.umn.edu home page is 50% Next is barely 1% We don't serve our users well or steward our resources well if we pretend otherwise.
All databases get equal weight. Except Q. But some animals are more equal than others.
Avg. around 16,000 Effort required to bend that straight line into this curve is borne by our users.
"If your UX asks the user to make choices... even if those choices are both clear and useful, the act of deciding is a cognitive drain.
And not just while they're deciding... even after we choose, an unconscious cognitive background thread is slowly consuming/leaking resources, ‘Was that the right choice?’"
- Kathy Sierra, "Your App Makes Me Fat "
Support All Devices
Fluid Grid
Mobile First
Mobile First
Emphasize consistency in your design
Prioritize your content
Work with real HTML/CSS/JS wireframes
Expect increased development time
Speed
whichloadsfaster.com
Public Process
(Very) Early prototype
Rapid design iterations
Public URL to BETA site
Multiple feedback loops
Modern Web Standards
Functional Prototypes
Accessibility-Minded Redesign
Performance-Minded Redesign
b0.1.0
b0.2.0
b0.3.0
b0.4.0
b0.5.0
PageSpeed Insights
Recommendations
Reduce server response time
Prioritize visible content
Optimize images
Minify HTML, CSS, JavaScript
Leverage browser caching
Enable compression
Avoid landing page redirects
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Build Process
^^ Code to MAKE your website awesome.
Build TODOs
Smaller HTML / CSS / JS files
Fewer HTTP requests
Optimized images
Cache-friendly, fingerprinted assets
Optimize images
Optimize images
Typical CSS & Javascript
Concatenated CSS & Javascript
Leverage browser caching
Regular
Leverage browser caching
Fingerprinted
Typical HTML
Minified HTML
PageSpeed Insights
Recommendations
Reduce server response time
Prioritize visible content
Optimize images
Minify HTML, CSS, JavaScript
Leverage browser caching
Enable compression
Avoid landing page redirects
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Speed Leaderboard
ARL Leaderboard
Google PageSpeed
https://developers.google.com/speed/pagespeed/insights
Google PageSpeed · UMN
Google PageSpeed · UW-Madison
GTmetrix
http://gtmetrix.com/reports/www.lib.umn.edu/5jEMp3uN
WEBPAGETEST
http://www.webpagetest.org/result/140318_HP_SVY/
Kraken.io
Online image optimization
https://kraken.io/
Kraken.io
Ex. U of Iowa Libraries
https://www.lib.uiowa.edu/
Kraken.io
FF Plugin - Download them all
https://www.lib.uiowa.edu/
Kraken.io
UIowa - Kraked Images Results
https://www.lib.uiowa.edu/
Middleman
http://middlemanapp.com/
Bootstrap
http://getbootstrap.com/
LESS
http://lesscss.org/
Bower
http://bower.io/
Uglifying in Public
Website design for speed, accessibility, and staff delight
Cody Hanson and Eric Larson
Web Development
University of Minnesota Libraries
http://z.umn.edu/uglify