Skip to content

Instantly share code, notes, and snippets.

@mttjohnson
Forked from davidalger/phpinfo.php
Last active May 20, 2019 21:14
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 mttjohnson/77661e4ba999591a085fd41beb6dee57 to your computer and use it in GitHub Desktop.
Save mttjohnson/77661e4ba999591a085fd41beb6dee57 to your computer and use it in GitHub Desktop.
PHP Info (phpinfo) - With header to bypass varnish caching
<?php
header('Cache-Control: private');
phpinfo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment