Thanks for your reply! I understand now how the cron job works.
In our REST API we have a list of resources that are heavy to compute, so we want to prefill the cache in background. During this process I want to serve the current cache value stored in the cache.
Is it possible to prefill the cache value with a cron job before the expiration date so that there no latency for users ?
Can I implement it with some magic hook ?
Thanks a lot for your help