Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Luis MajanoLuis MajanoReporter
Gavin PickinGavin PickinLabels
Priority
Major
Details
Details
Assignee
Luis Majano
Luis MajanoReporter
Gavin Pickin
Gavin PickinLabels
Priority
Sentry
Sentry
Sentry
Created November 13, 2023 at 7:17 PM
Updated November 13, 2023 at 7:17 PM
This is something browsers can now handle with headers, but I think it could be something we support wherever Cachebox cache settings exist too… especially with ColdBox Async features now.
You can set expiration time, and if you want to support stale-while-revalidate, you can set that too.
cache-control: private, max-age=900, stale-while-revalidate=3600
After the cache time has passed but within the window it’s safe to store stale data, Serve them the last cached version quickly but async get and save a new version for the cache so the next request is still fast and is fresh.
Here is a podcast from Syntax.fm that explains it pretty well, pros and cons.
https://podcasts.apple.com/us/podcast/syntax-tasty-web-development-treats/id1253186678?i=1000634614922
References: