-
Is it possible to serve stale props (if cached) and then issue a revalidate in the background? Basically I'd like the app to respond immediately, but update for the _next_ request.
-
-
While investigating the history behind the `stale-while-revalidate` `Cache-Control` option, I found that the [original description](https://tools.ietf.org/html/rfc5861#section-3) in RFC5861 included t…
-
The `CachingHttpClient` internally uses `HttpCache`. That class, however, has been designed as a `public` (shared; surrogate) cache.
In this "downstream" caching use case, however, it would be valu…
-
Hi @kornelski, thanks for your work on this library, it looks fantastic.
For my use case, I would need the library to support these two `Cache-Control` directives. From [MDN](https://developer.mozi…
-
I believe these directives were dismissed at some point due to no browser support, however there's increasing [support](https://caniuse.com/#feat=mdn-http_headers_cache-control_stale-while-revalidate)…
-
The demo is great and the performances are impressive.
More and more, Web apps use State While Revalidate for remote data fetching thanks to excellent libraries as SWR, react-query and Apollo Clien…
-
So, I read up about `stale_while_revalidate`
```py
# https://requests-cache.readthedocs.io/en/stable/user_guide/expiration.html#asynchronous-revalidation
stale_while_revalidate=True,
```
And …
-
Add an example how to serve stale content while fetching fresh one, something like
set beresp.stale_while_revalidate = 60s;
See https://docs.fastly.com/guides/performance-tuning/serving-stale-content
-
## The setting
I have a setup that uses the same URL for normal requests and for HTMX requests. This works perfectly, since I can branch on the presence of the `HX-Request` header on the server sid…
CC007 updated
5 months ago