Skip to content

Instantly share code, notes, and snippets.

@westonruter
Created November 12, 2009 23:01
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 westonruter/233399 to your computer and use it in GitHub Desktop.
Save westonruter/233399 to your computer and use it in GitHub Desktop.
Concatenates scripts and then minifies and optimizes them using Google's Closure Compiler. For non-concatenable scripts, removes default WordPress 'ver' query param so that Web-wide cacheability isn't broken for scripts on CDNs like ajax.googleapis.com.
Please see: http://svn.wp-plugins.org/optimize-scripts/trunk/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment