---
title: "cURL Command Without Using Cache | Baeldung on Linux"
description: "!https://www.baeldung.com/linux/curl-without-cache#adding-the-pragma-http-header"
date: 2023-08-21
published: true
tags:
  - cli
  - curl
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://www.baeldung.com/linux/curl-without-cache#adding-the-pragma-http-header" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://www.baeldung.com/wp-content/uploads/sites/2/2021/09/Featured-Linux-5.png" alt="cURL Command Without Using Cache | Baeldung on Linux — A quick and practical guide to using curl without cache." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">cURL Command Without Using Cache | Baeldung on Linux</div>
      <div class="embed-card-description">A quick and practical guide to using curl without cache.</div>
      <div class="embed-card-meta">Baeldung on Linux &middot; baeldung.com</div>
    </div>
  </a>
</div>


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
```
