Content encoding error after enabling cache, aggregation and compression
Add this lines to your settings.php file.

$conf = array(
'cache' =&gt; '0',
'preprocess_css' =&gt; '0',
'preprocess_js' =&gt; '0',
'block_cache' =&gt; '0',
'page_compression' =&gt; '0',
);


or with Drush

// To turn on JS Aggregation

drush vset preprocess_js 1 --yes


// 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