Skip to content

Instantly share code, notes, and snippets.

@jasperf
Created August 19, 2014 11:56
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 jasperf/a5f1f996489714f41973 to your computer and use it in GitHub Desktop.
Save jasperf/a5f1f996489714f41973 to your computer and use it in GitHub Desktop.
Check to see if (Clouflare) minification is working on your site using curl #cloudflare #curl
//Cloudflare check by ip to avoid minification
curl 111.111.111.11/wp-content/themes/theme/script.js -H "Host: www.domain.com" -s | wc -c
//Check by canonical name to see file minified
curl http://www.domain.com/wp-content/themes/theme/js/script.js -s | wc -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment