~/talk

pushState to the Future: Progressive Enhancement Using HTML 5 pushState

Talkat Fluent 2013 · 2013-05-28..05-30· [web-platform, web-performance]
links:none on file
slides:none on file

Twitter implements HTML5 history as a progressive enhancement layered on full server rendering: the server returns JSON-wrapped server-rendered HTML plus module list and init data, the client loads modules with LoadRunner and swaps a DOM container, and history entries use pushState/replaceState so URLs never change. Implementation adds two new JS modules, uses Hijax + server-side rendering, and includes workarounds for Firefox 640K state limits and WebKit spurious popstate; result is faster in-app navigation, low server rearchitecture cost, and graceful fallback.

AI-written summary · about

  1. 0:00Start
  2. 8:26Title Param Support
  3. 15:27Core Functionality
  4. 23:00UI Component
  5. 23:36Data Component
  6. 31:02Uses of reload
  7. 31:36Final Thoughts
~/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.