Right now, FastCGI cache expiration is fixed at 60 minutes. It would be great to make this configurable per website.
For example:
When FastCGI cache is enabled in Advanced → Developer Tools for a website, add an additional option below the toggle:
- A dropdown (e.g. 1h, 6h, 12h, 24h, 1 week, etc.)
- Or a custom input field for cache expiration time
This would allow longer cache lifetimes (e.g. 12h, 24h, 1 week) for sites that don’t change often, improving performance and reducing server load. Many hosts (e.g. Kinsta) already provide options from 1h up to 1 year.