# Purging GitHub's cached images

til · 2026-10-04

TIL you can purge GitHub's cached images. If an image has changed but GitHub keeps showing the old version, you can send a `PURGE` request to its Camo URL:

```sh
curl -X PURGE https://camo.githubusercontent.com/<image-url>
```

[GitHub's docs](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls#removing-an-image-from-camos-cache) recommend doing this sparingly, after trying the usual cache troubleshooting.
