~/talk

Make Your Python Web App Fly Around the World with CDNs

Talkat Python Web Conf 2023 · 2023-03-13..03-17· [web-performance, web-platform]
slides:none on file

Shows a step‑by‑step build: a Flask app tunneled with ngrok, static assets moved to Bunny CND pull zones with Origin Shield, and browser hints like preconnect added. Implements md5-based cache‑busting so updated images change URL, flips on “vary by query string,” and measures with Lighthouse and devtools. Result: static traffic offloads >75% of nginx CPU, 15 TB/month cost drops compared to S3, page requests fall from ~109 to cached CDN hits and median load times drop into the low hundreds of milliseconds.

AI-written summary · about

  1. 0:00Start
  2. 0:43What is a CDN?
  3. 6:16Measuring the true speed of your app
  4. 8:10It's not just optimizing server-side Python code
~/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.