Python Web Apps that Fly with CDNs.txt

(1 KB) Pobierz
 Welcome
 What is a CDN?
 More than one request
 Not just optimizing server-side
 Why I avoided a CDN
 Tech stack for our app
 What are we going to build?
 Meet your instructor
 Setup intro
 Get the source
 Installing Python 3
 Editor choices
 Bunny.net account
 Intro to static content
 Running the demo app
 Project code structure
 Local is always fast
 Running over ngrok
 CDNs and pull zones
 Creating the static content pull zone
 First CDN url
 The rest of the static links
 Faster still with preconnect tag
 Smaller images are still better
 Be careful with private content
 Large content introduction
 CDN object storage
 How Talk Python uses storage
 Where is our large content in the app?
 Getting the large files
 Creating the storage zone
 Uploading files
 Connecting and testing the CDN
 Demo: User-generated content in app
 Welcome to fresh caches
 The caching problem
 The caching fix
 cache_id_builder
 Demo: using cache_id_builder
 Remember vary by in the CDN
 Finishing the rest of the links
 Troubleshooting introduction
 Check the dev tools
 Try without the CDN
 Demo: Toggling CDN on and off for dev
 The CDN keeps logs too
 Purge the cache
 Fonts are tricky on the web
 But it's an ad company
 Bunny is not an ad company
 What does API compatible mean?
 Using Bunny fonts
 Performance testing introduction
 Testing with LightHouse
 Testing with network tools
 Quick review and thanks
 Remember the repo
 Stay in touch
Zgłoś jeśli naruszono regulamin