Skip to content

Instantly share code, notes, and snippets.

@julianpistorius
Last active March 4, 2016 00:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianpistorius/0f4ebe2b710f03f7df8d to your computer and use it in GitHub Desktop.
Save julianpistorius/0f4ebe2b710f03f7df8d to your computer and use it in GitHub Desktop.
Test if a proxy (polipo) is caching correctly
curl -s --head --proxy http://127.0.0.1:8123/ http://google.com
curl -s --head http://google.com
curl -s --head --proxy http://127.0.0.1:8123/ http://google.com
ls -al /usr/local/var/cache/polipo/
ls -al /usr/local/var/cache/polipo/google.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment