Last active
March 4, 2016 00:23
-
-
Save julianpistorius/0f4ebe2b710f03f7df8d to your computer and use it in GitHub Desktop.
Test if a proxy (polipo) is caching correctly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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