Syntax - Tasty Web Development Treats
753: Cache Ruins Everything Around Me
Scott and Wes dive into the cache problem, tackling...
more
Apr 8 2024 24m
Chapter 1 1 min
Welcome to Syntax!Chapter 2 53 sec
Syntax is on YouTubeChapter 3 1 min
Let’s talk about the cache problemChapter 4 2 mins
User-specific data and caching securityChapter 5 1 sec
Why might this pop up?Chapter 6 25 sec
Marketing A/B testing cookie basedChapter 7 2 sec
User-selected features such as themesChapter 8 12 sec
Language or geo-based items accept languageChapter 9 33 sec
Images WebP for some browsers, jpg for othersChapter 10 31 sec
JSON/HTML based on accept headerChapter 11 8 sec
Different encodingChapter 12 27 sec
Content negotiationChapter 13 9 sec
The solutionsChapter 14 2 mins
Provide different URLs/Query parameterChapter 15 3 mins
Don’t cache the page, cache the data based on queryChapter 16 3 mins
Implement a “Cache Key” one render for every optionChapter 17 1 min
Use edge logicChapter 18 4 mins
Just do it client-side