toot.kuba-orlik.name is part of the decentralized social network powered by Mastodon.

Administered by:

Server stats:

5
active users

Learn more

Kuba Orlik

A question: is there a way to set up a "rolling cache" with nginx?

I want it to handle each request like so:

1. Immediately respond with the cached version
2. Start rebuilding the cache for that request in the background, so the next request for this URI gets a newer cached version

Cc @rysiek