Created
August 19, 2014 11:56
-
-
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
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
//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