~/talk

HTML-ivating your Django web app's experience with HTMX, AlpineJS, and streaming HTML

Talkat DjangoCon US 2023 · 2023-10-16..10-20· [web-platform, javascript]
slides:none on file

Shows a concrete claim: you can get SPA‑like responsiveness without a SPA by combining HTMX, AlpineJS, and streaming HTML from Django. Presents a working demo app that loads in 20 seconds versus competitors at 59 seconds and a production site at ~4 minutes, and cites archive data where half of React sites take >10s and 10% take >25s. Describes implemented techniques — template splitting, streaming fragments, and server-sent events — and measures that these reduce time to interactive and cut client JavaScript and payload budgets.

AI-written summary · about

  1. 0:00Welcome
  2. 1:03The limitations of single-page applications
  3. 4:32Faster alternative example
  4. 10:17HTMX and AlpineJS intro
  5. 12:46Traditional HTML benefits
  6. 15:15HTMX partial updates
  7. 15:59AlpineJS interactions
  8. 17:00HTML attributes for DX
  9. 18:23Community testimonials
  10. 20:08SPA performance costs
  11. 23:16Perceived speed priority
  12. 24:20Streaming HTML benefits
  13. 27:31GitHub’s streaming pattern
  14. 28:14Streaming in Django
  15. 30:01Template splitting for streaming
  16. 32:30HTMX server-sent events
  17. 36:24Open-source resources
  18. 36:47Key takeaways
~/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.