Is there a way to have control of the cache of kirby?
Several of my pages will have their contents updated using an external API. I will want to make an API call every hour (at the 55th minute of every hour), then cache the page (including the API results) and serve the cached version until the next update.
Is this possible using the kirby cache? If yes, how?
I want to flush the cache every night with a cronjob. I have an event calendar and a RSS feed on my homepage with the latest entries.
Flushing the entire cache isn’t a problem for me.
Is there a method in Kirby to flush the entire cache?
This can be called in the cronjob with curl for example: http://yourdomain.com/cron.php
You might want to add some kind of token check though, so only your cronjob can really flush your cache.