You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`swr` reduces response times by serving cached results, but does not reduce database load because it performs a revalidation in the background after each request.
125
129
126
130
> [!NOTE]
127
-
> The total TTL of a cache entry is equal to its `ttl` + `swr`
131
+
> The total TTL of a cache entry is equal to its `ttl` + `swr`. The `ttl` window comes first, followed by the `swr` window.
128
132
129
133
You can combine the two options to best suit the needs of your application.
0 commit comments