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?
Opinionateddesign
(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"
Mobile First
-
Emphasize consistencyin 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
Accessibility-Minded Redesign
Performance-Minded Redesign
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
Concatenated CSS & Javascript
Leverage browser caching
Regular
<link rel="stylesheet" href="css/all.css">
Leverage browser caching
Fingerprinted
<link rel="stylesheet" href="css/c06fa4a2.all.css">
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
Google PageSpeed
https://developers.google.com/speed/pagespeed/insights
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/
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