💭 cURL Command Without Using Cache | Baeldung on Linux ====================================================== !https://www.baeldung.com/linux/curl-without-cache#adding-the-pragma-http-header Date: August 21, 2023 cURL Command Without Using Cache | Baeldung on Linux A quick and practical guide to using curl without cache. Baeldung on Linux · baeldung.com [1] Busting cache with curl. I'm not sure how much gets cached by curl, but I have ran into several cases where I am looking for new content and I want to ensure the content is new and no chance of being cached. This article suggests 3 different techniques. ``` bash curl -H 'Cache-Control: no-cache, no-store' http://www.example.com curl -H 'Pragma: no-cache' http://www.example.com curl http://www.example.com/?xyzzyspoon ``` !!! note This post is a thought [2]. It's a short note that I make about someone else's content online #thoughts [3] References: [1]: https://www.baeldung.com/linux/curl-without-cache#adding-the-pragma-http-header [2]: /thoughts/ [3]: /tags/thoughts/