4 ms·
I believe that curl does not have client side caching so every time you run the command it downloads the csv. While downloading the csv and then analyzing it wo
by babblingfish 3y ago
I believe that curl does not have client side caching so every time you run the command it downloads the csv. While downloading the csv and then analyzing it would no longer makes it a magic one-liner you can send to people. It would save bandwidth and reduce traffic on the API.
Unless there is caching going on here? Perhaps a CDN cache on the server side?
- acqq 3y ago> I believe that curl does not have client side caching See: https://news.ycombinator.com/item?id=37528558 https://news.ycombinator.com/item?id=37528558 by llimllib Specifically: curl -o /tmp/euro.zip -z /tmp/euro.zip Option o is output, option z says "Request a file that has been modified later than the given time and date, or one that has been modified before that time." And: https://news.ycombinator.com/item?id=37529690 https://news.ycombinator.com/item?id=37529690 by sltkr: "the server doesn't support that header, but since the response does include a Last-Modified header, curl helpfully aborts the transfer if the Last-Modified date is the same as the mtime of the previously downloaded file."