Does file cache work with redirects?

I installed https://github.com/jenstornell/slash-redirect on my localhost with the built in Kirby file cache activated. It seems to work. How does it work? It does not cache my redirects? How can it know about it?

Redirects inside templates wouldn’t work but plugins are loaded even if the cache is enabled, so your plugin runs for cached pages. :slight_smile:

1 Like

Just to be clear, the cache is fired after all the plugins are loaded just before the template loads?

Yes, that is correct. :slight_smile:

1 Like