# Cache pages without serving old content

> Either every visit rebuilds the page, or visitors see yesterday’s version.

Web page: https://buildladder.com/resources/prompts/caching

What you get: A caching rule for each kind of page, and a way to refresh the moment content changes.

Paste it into: Your AI tool, in your project

## Prompt to copy

```text
Review caching in this project so pages are fast and still correct.

List the kinds of pages and data here and sort them: the same for everyone and rarely changing, the same for everyone and changing often, and personal to the signed-in user. For each, tell me how it's cached today (framework, CDN, browser) and whether that's right.

Propose a rule for each kind: how long it can be reused and what event should refresh it. Make sure nothing personal is ever stored in a shared cache. Apply the changes, then show me the cache headers for one page of each kind and how to force a refresh when I need one.
```
