Cloud infrastructure
Cache a study library
Choose cache lifetimes for pages and assets that change at different speeds.
Follow a request
A reader requests a lesson. A shared cache can reuse a stored public response while it is fresh. On a cache miss, the request travels to the origin and the cache may store the response.
Publish a correction
Use short freshness lifetimes or revalidation for lesson HTML. Give immutable assets filenames derived from their contents. When a diagram changes, publish its new file before publishing the page that references it.
Exercise
Sketch two timelines for a corrected lesson, one for a returning reader and one for a new reader. Identify which copies can still contain the old explanation and how each becomes fresh.