Hey guys,
we are trying something new!
On our website we want to load jobs from an external tool that we use for recruiting. There we post our jobs and manage applications. The tool offers an API so you can customize the way listings look or post applications from custom forms into the tool.
We built a little scenario that is triggered by a webhook. Then we use the API to get the job data and return it via webhook response.
So far so good.
To reduce the amount of requests made to our tool’s API, we were wondering if it is possible to “store” the data returned somehow and only allow another API run every 15 or 30 minutes for example. If the last request was longer than that, then go ahead and do another API request. If it was less time ago, send the cached data.
What would be a clean and easy but also failsafe way of achieving this?
Is there even a better way? After all, the webhook and Make.com are anyways requested every time. So maybe it would also be good to store the data in the local storage for the end-user visiting our page. This way we could at least limit the requests made per visit or per user.