Created
September 24, 2012 17:20
-
-
Save chrisjlee/3777116 to your computer and use it in GitHub Desktop.
drush disable js/css aggregation
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
// To turn on JS Aggregation | |
drush vset preprocess_js 1 --yes | |
// To clear all Cache | |
drush cc all | |
// To disable JS Aggregation | |
drush vset preprocess_js 0 --yes | |
// To clear cache of JS and CSS only | |
drush cc css+js | |
// To enable CSS Aggregation | |
drush vset preprocess_css 1 --yes | |
// To disable CSS Aggregation | |
drush vset preprocess_css 0 --yes |
Drupal 8 version to disable aggregation:
# disable CSS/JS aggregation
drush -y config-set system.performance css.preprocess 0
drush -y config-set system.performance js.preprocess 0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you have a typo in line 11. it should be: css-js, not css_js. I would do the fork-and-pull-request thing but i'm a noob and can't seem to figure out how to do that for a gist.