欢迎各位兄弟 发布技术文章
这里的技术是共享的
16 gzip的数据后,FetchErrorÇ垃圾
这个问题并没有启用的.htaccess压缩的gzip,但他的Drupal gzip压缩。
为了解决这个问题,我已经做了这些步骤。
打开settings.php文件,并添加这些行
$ CONF ['css_gzip_compression'] = FALSE;
$ CONF ['js_gzip_compression'] = FALSE;
$ CONF ['page_compression'] = FALSE;
然后登录到domain.com/admin~~V并刷新所有缓存。这样做的,注销的网站已不再有任何问题,按预期工作后。
希望这对你的作品。
I have solved this issue. After watching the varnish log file you can see this issue when the Drupal cache is hit.
16 FetchError c Junk after gzip data
The issue was not .htaccess enabled gzip compress but he Drupal gzip compression.
To solve this issue I have done these steps.
Open settings.php and add these lines
$conf['css_gzip_compression'] = FALSE;
$conf['js_gzip_compression'] = FALSE;
$conf['page_compression'] = FALSE;
Then login to domain.com/admin and Flush all caches. After doing this and logging out the site is no longer having any issues and is working as expected.
Hopefully this works for you.