I want to show the current weather at the clients office. I adapted a solution found on this excellent forum. One thing I am struggling to get my head is how to limit how often the external data is requested. Is there an inbuilt caching api I can use or should a look at caching everything in Kirby, then setting up a cron job to clear the cache every hour?
This is something a did a while ago. You need a textarea field to store the data and a textarea to store the timestamp of last update. And then you need to check if the data should be read from the field or if a new request should be made.