Skip to content

Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am artfulhacker on github.
  • I am artfulhacker ( on keybase.
  • I have a public key ASD7EKHujT0qQkwWCl35SVRgfvTDYuYujR97NOXIVAVP2Qo

To claim this, I am signing this object:

artfulhacker / gist:a6eb800e58f2eb6f9231
Created Aug 5, 2014
Military/Government IP Blocks
View gist:a6eb800e58f2eb6f9231
// Group detection by IP address
// [Region Abbreviation, Military/Government]
// Force Varnish to NEVER Cache this page
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
// JSON Headers