Posts tagged: curl

All posts with the tag "curl"

1 posts latest post 2023-08-21
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. 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 References: [1]: https://www.baeldung.com/linux/curl-without-cache#adding-the-pragma-http-header [2]: /thoughts/