Is there a use case where you would want staleWhileRevalidateSeconds to be greater than maxAgeSeconds?
TTLs | |
---|---|
maxAgeSeconds | 86,400 |
staleWhileRevalidateSeconds | 604,800 |
Is there a use case where you would want staleWhileRevalidateSeconds to be greater than maxAgeSeconds?
TTLs | |
---|---|
maxAgeSeconds | 86,400 |
staleWhileRevalidateSeconds | 604,800 |
yes, in general staleWhileRevalidateSeconds should be greater than maxAgeSeconds. During the time in between maxAgeSeconds and staleWhileRevalidateSeconds. The content will be served from the cached and the cache updated if need be.