Disable css+js compression via drush
To save yourself some pointy-clicky steps, you can run a few drush commands to disable (or enable!) css and js compression in Drupal.
drush vset preprocess_css 0 # disable css compression
drush vset preprocess_js 0 # disable js compression
drush cc css-js # clear both caches
To enable this, simply set the variables to 1 instead of 0
Written by Erin Marchak
Related protips
3 Responses
You have a typo in the clear cache line:
drush cc css-js
over 1 year ago
·
You have a typo in the clear cache line:
drush cc css-js
over 1 year ago
·
Good catch, thanks!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Drush
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#