使用mod_pagespeed的Xvarnish(cachewall)

时间:2017-07-03 10:50:50

标签: apache cpanel varnish mod-pagespeed

我有一个问题,我有一个带有缓存墙的cpanel服务器(以前称为Xvarnish)和安装了mod_pagspeed。

Cachewall / Xvarnish已启用https支持。

问题在于,尽管网站的标题显示Cachewall和modpagespeed都在运行,但我的apache错误日志中却出现了这种情况:

[Mon Jul 03 20:45:49.060050 2017] [pagespeed:error] [pid 31223:tid 112490802050816] [mod_pagespeed 1.11.33.4-0 @31223] Serf status 120171(APR does not understand this error code) polling for 1 threaded fetches for 0.05 seconds
[Mon Jul 03 20:45:49.060071 2017] [pagespeed:error] [pid 31223:tid 112490802050816] [mod_pagespeed 1.11.33.4-0 @31223] Serf status 120171(APR does not understand this error code) polling for 1 threaded fetches for 0.05 seconds
[Mon Jul 03 20:45:49.910183 2017] [pagespeed:warn] [pid 31225:tid 112490799363840] [mod_pagespeed 1.11.33.4-0 @31225] Fetch timed out: https://www.example.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 (connecting to:139.xx.xx.xx:82) (1) waiting for 50 ms

不知道这里发生了什么。

1 个答案:

答案 0 :(得分:0)

我认为在使用varnish和page_speed时你必须了解缓存流程。

请查看以下链接了解详情: https://www.sonassi.com/help/troubleshooting/understanding-cache-flow-when-using-pagespeed-and-varnish

清除所有page_speed缓存和清漆缓存,然后重新启动varnish和apache。