On March 30, 2026 at 13:48

Spent the Saturday afternoon exploring ways to add surrogate-key (also known as cache tags) support for Nginx fastcgi cache which is otherwise great with state-while-revalidate support, etc.

Considered creating an Nginx module but there don't appear to be any hookable events when the cache files are written. The idea would be too keep an index of tags mapped to cache files on disk and have a route for invalidating by tags.