Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am artfulhacker on github.
  • I am artfulhacker (https://keybase.io/artfulhacker) on keybase.
  • I have a public key ASD7EKHujT0qQkwWCl35SVRgfvTDYuYujR97NOXIVAVP2Qo

To claim this, I am signing this object:

@artfulhacker
artfulhacker / gist:a6eb800e58f2eb6f9231
Created August 5, 2014 00:50
Military/Government IP Blocks
<?php
// 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