-
TLDR: Support a staleWhileRevalidate hint on the cacheControl directive
```gql
type Variant {
name: String
sku: String
inStock: Boolean @cacheControl(maxAge: 5, staleWhileRevalidate: …
-
We could use the `Cache-Control: stale-while-revalidate` header to improve performance of subsequent reloads of the dev-server
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Contro…
-
# Feature Request
Adding proper `stale-if-error` and `stale-while-revalidate` directives to `Cache-Control` response Header would help the client to re-use cached response data in case of _ESI_ err…
-
This may involve sending last-modified-at, an etag ([`trillium-caching-headers`](https://docs.rs/trillium-caching-headers/latest/trillium_caching_headers/struct.Etag.html) can handle this), a longer m…
-
### Link to the code that reproduces this issue
https://github.com/eloisetaylor5693/nextjs-set-cache-control
### To Reproduce
```typescript
export async function getServerSideProps(context: …
-
## 🏗 Enhancement Proposal
I recently was able to support all native platforms and web with an emulation of how the browser works with saving, revalidating and evicting cache.
https://github.com/…
-
[RFC-5861](https://tools.ietf.org/html/rfc5861#section-3) introduces a cache-control extension "stale-while-invalidate":
> When present in an HTTP response, the stale-while-revalidate Cache-
> …
-
### Actual
When expired tiles can't be rerendered on-the-fly, the old (dirty) version is returned.
Currently, these dirty tiles get a `Cache-Control: max-age=604800` and a corresponding `Expire…
-
### Link to the code that reproduces this issue
https://github.com/Ruchika-saini/NextJs-swr/tree/main
### To Reproduce
1. Created a simple Next JS app with version 13.5.6.
2. Created a home page, …
-
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```bash
Operating System:
Platform: darwin
…