~/talk

Inside Rails: The Lifecycle of a Response

Talkat RailsConf 2020 CE · 2020-05-04..05-05· [ruby-on-rails, web-platform]
slides:none on file

Shows exactly how a Rails app turns an HTTP request into a three‑part response array: status, headers, body, and what components actually make that happen. Demonstrates using Telnet, Puma/Unicorn and Rack ETag plus Rack Conditional Get to compute 304s, how redirect_to doesn’t halt execution causing double render errors, how stale avoids full rendering for ETags, asset fingerprinting, and caching helpers like http_cache_forever (max-age 3,155,695,200 seconds). Includes code behavior details and real pitfalls to watch for.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20HTTP
  3. 3:13Rack Protocol
  4. 4:55Status Codes
  5. 12:30Caching
  6. 18:33Stale
  7. 20:15Body
~/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.