~/talk

HTTP Headers for the Responsible Developer

Talkat Web Unleashed 2019 · 2019-09-13..09-14· [web-platform, security]

HTTP headers can force HTTPS with HSTS preload, block or report rogue scripts with Content-Security-Policy (only ~6% of 2.8M pages enable it), and save bandwidth via Save-Data header and client hints (Accept-CH +/- width) so images and HTML are served as WebP/Brotli. Practical tooling cited: HTTP Archive + BigQuery, Lighthouse, webhint. Real examples: demo pages using Brotli, client hints and preload; Shopify reports ~13% less data when honoring save‑data (20% of requests from India/Brazil).

AI-written summary · about

  1. 0:00Intro
  2. 1:45The web connects people
  3. 2:21and I want to be a responsible developer
  4. 4:03The challenge of building a "good" website
  5. 6:13How can we use headers to make this site better?
  6. 9:17Ensure encryption
  7. 12:00Limit what's allowed
  8. 15:07Always monitor your CSP reports and "test in production" with report-only before enforcing them! Troy Hunt
  9. 15:46The web is crucial for people.
  10. 17:43Don't request the same content over and over again
  11. 20:30Default Mode
  12. 21:01Brotli tends to compress better with the same speed
  13. 21:19You don't have to do it on the fly...
  14. 22:00Serve tailored media
  15. 24:04Serve a tailored version via server/service worker
  16. 26:22We should provide an easy way to save data!
  17. 27:50Less Data Doesn't Mean a Lesser Experience @tkadlec
  18. 31:11This is great to speed up critical resources
  19. 34:17What happened to the most annoying one?
  20. 37:36Building for the web is very hard
  21. 39:34The web has to be safe, affordable and respectful...
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.