-
something like this:
serve a stale cache between 5-10 seconds, but then update the cache in the background to keep it fresh
```ts
const metrics = await cache.getOrSet(
'metrics',
async…
-
### Discussed in https://github.com/unjs/nitro/discussions/2714
Originally posted by **kaitoqueiroz** September 5, 2024
# Environment:
Operating System: Linux
Node Version: v20.15.0
Nuxt…
-
-
This effects both Next.js 14 and 15.
When setting `{ next: { revalidate: 1 } }`, currently the default behaviour of the `redis-strings` and `redis-stack` handlers is to set an expiry on the entry s…
-
Hi,
I'm very interested in this proxy, it's very interesting for scalability in microservices.
Are there any plans to support Stale-while-revalidate to improve response time after cache entries …
-
[`stale-while-revalidate`](https://www.mnot.net/blog/2014/06/01/chrome_and_stale-while-revalidate) is an HTTP caching header that isn't widely honored by user agents, but might get some actual use "in…
-
See https://tools.ietf.org/html/rfc5861.
(And maybe `stale-while-error` too, while we're at it.)
-
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.
-
Hi guys!
We currently use rack-cache in production and we are quite happy with it.
We discovered the `stale_while_revalidate` flag for `expires_in` in rails (https://api.rubyonrails.org/classes/Ac…
-
I just found out htmx and I would like to try it as soon as possible.
I also agree that SPAs are a real fatigue.
I'm using SPAs mainly for two features:
1. I'm obsessed with perceived speed o…