For how much time CURL caches the website result?

I want to use CURL to get data from the API provided by some website. And I need to do it on frequent basis ( say every one hour ). But, it seems that CURL actually caches that website and after first time, it shows me cached result. I want the fresh result.
Could you guys please tell if there is a way to know the caching duration for CURL? Can we change it?


Source: unix

Leave a Reply