Skip to content

Instantly share code, notes, and snippets.

@blindpet
Created August 5, 2015 21:04
Show Gist options
  • Save blindpet/0e58c15524a725c509ed to your computer and use it in GitHub Desktop.
Save blindpet/0e58c15524a725c509ed to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo Enter full URL to purge
read url
curl -s $url -H "Cache-Control: no-cache" -o /dev/null
echo Refreshed $url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment