A dispatcher changes a job's delivery address. A colleague opens the job and still sees the old address. The screen loads quickly, but is it safe to act on?
Before accepting a business application's caching behavior, agree what may be reused, for whom, for how long and what happens when a current answer is unavailable. Use a response-by-response policy rather than one global cache switch. Separate three things at sign-off: the configured headers, the observed application behavior and the business decision about when older information is usable.
This guide provides a cache-policy worksheet and a fictional dispatch example. It is a planning framework, not a tested application, a security audit or a customer story. Every acceptance case below is Not run.
Separate public resources from account-specific records
A public help illustration and a customer's delivery instructions need different decisions. Ask the developer to inventory the responses that matter to the workflow rather than promising to cache everything or disable everything.
HTTP distinguishes a shared cache, which can reuse responses for more than one user, from a private cache dedicated to one user, often inside a browser.[1] Ask which layers exist in the proposed application: browser HTTP caching, an intermediary such as a CDN, and any application-managed saved data. The HTTP policy sheet is not a substitute for a separate review of application storage.
For each important response, record its audience and business purpose. Then ask two independent questions:
- Freshness: may someone act on an older copy, and under what conditions?
- Privacy: where may a copy be stored, and who may receive it?
A response can be recent but belong to the wrong account. It can also belong to the right account but be too old for the decision. Do not combine those failures into one vague cache issue.
Understand no-cache, no-store and private before sign-off
The names are easy to misread. RFC 9111 gives these response directives distinct meanings:
- Unqualified
no-cacherequires successful validation before the stored response can satisfy another request. It does not forbid storage.[1] no-storedirects HTTP caches not to store the immediate request or response or reuse that response for another request. It applies to private and shared caches, but the standard explicitly warns that it is not sufficient by itself to ensure privacy.[1]- Unqualified
privateprohibits a shared cache from storing the response but can permit a private cache to store it, subject to other caching constraints. The word does not guarantee the privacy of its content.[1]
These are explanations, not a ready-to-copy production configuration. Ask the developer to select and justify the complete policy, including directive interactions and any applicable exceptions, for the actual routes and infrastructure. For example, RFC 9111 describes a specific must-understand interaction with no-store; a short directive summary is not the full protocol.[1] A screenshot of a header establishes that response's configuration, not every cache layer's behavior.
Avoid making “we use private” the whole security answer. Require the application's access checks independently, and review account switching with synthetic identities. The separate application permissions checklist covers who may retrieve which records; caching must preserve those boundaries rather than replace them.
Specify screen refresh separately from HTTP cache freshness
For the fictional dispatch app, propose a simple rule: an older job summary may help someone find a record, but staff must obtain a current authorized view before relying on delivery instructions. This is a business requirement to discuss, not a universal implementation rule.
Define what “current” means for the task. Does opening the job trigger validation? Is there a visible last-checked time, and what does it actually measure? If a connection fails, does the app block the consequential action, show an explicitly dated read-only view, or require a manual process?
An HTTP freshness lifetime does not refresh an already open page. RFC 9111 explicitly says freshness applies to cache operation and cannot force a user agent to refresh its display or reload a resource.[1] If the screen remains open while another person changes the job, the application needs a separately agreed update or recheck behavior.
Likewise, a current read does not guarantee a later write will still be based on the latest record. Ask the developer to cover conflict detection separately. This worksheet concerns response reuse and display freshness, not a complete concurrent-editing design.
Complete a cache-policy worksheet for each business response
Use this proposed worksheet at handover. Fill the blanks with agreed requirements rather than treating these examples as product capabilities.
| Response or view | Permitted audience | Reuse rule to agree | If a current answer is unavailable | Evidence to request |
|---|---|---|---|---|
| Public help illustration | Public visitors | Chosen public-resource lifetime and update procedure | Agreed fallback presentation | Response headers and replacement check |
| Job-list summary | Authorized dispatch staff | Maximum acceptable age and visible checked-at meaning | Explicitly older read-only view or unavailable state | Old/new record comparison with timestamps |
| Delivery instructions | Staff authorized for that job | Current validation before operational reliance | Block reliance or follow the agreed manual process | Server response and visible state after an update |
| Account-specific document | Its authorized account and roles | Developer-justified private-data storage policy | No cross-account fallback | Two synthetic accounts and intermediary checks |
Name the owner of each policy and what triggers a review. A new CDN, offline feature or account model should prompt a fresh assessment of affected rows. This is recommended change-control practice, not a claim that a deployed system already enforces it.
An older-data fallback is a requirement to evaluate, not permission to ignore the selected HTTP policy. The developer must show how any allowed fallback respects that policy and the separately reviewed application-storage rules.
Request five repeatable caching acceptance checks
Use synthetic jobs and two test accounts; do not include real addresses or customer documents. Ask the developer to record the candidate revision, browser/version, intermediary configuration, response headers, steps, timestamps and observed results.
- Open a job, change its address from another authorized session, then reopen it through normal navigation. Compare the authoritative stored value, response and displayed value against the agreed reuse rule. Status: Not run.
- Leave the job view open during another change. Check the separately agreed recheck behavior and whether any last-checked label remains truthful. Status: Not run.
- Make validation unavailable in an isolated test environment. Verify the actual unavailable or older-data state and permitted actions; do not count a quiet display of old instructions as success. Check that the fallback respects the selected policy. Status: Not run.
- Sign out of account A and sign in as account B on the same test browser. Follow normal links and revisit relevant views. Check both displayed content and new server access decisions. Status: Not run.
- Where a shared intermediary is in scope, repeat the account-specific request through that actual test layer with the developer. Demonstrating browser behavior alone does not complete this check. Status: Not run.
For logout lifecycle and already displayed private information, use the separate shared-device session checklist. Passing a cache test is not proof that every session-ending and local-storage case is covered. RFC 9111 also distinguishes HTTP caching from application use of retrieved data and browser history; do not infer all Back-button or restored-view behavior from the headers alone.[1]
Sign off a policy and evidence, not “caching enabled”
Ask for the completed worksheet, the chosen implementation policy and recorded acceptance results. Keep configuration, observed browser behavior and business permission to use older data as separate facts. If a check is unfinished, record its owner and limitation.
Planning a web application? Describe one view where old or wrong-account information would matter. You can prepare a project brief with that view, its audience and its freshness requirement. Leave private records and credentials out of the brief. The website helper lets a visitor request an email draft; it does not confirm app opening, sending or receipt.
Sources
[1] RFC Editor / IETF — RFC 9111, HTTP Caching (June 2022). https: