开发者

How to optimize wordpress and squid

Hi I'm using squid to speed up an installation of wordpress (running on lighty).

unfortuately it seeems that squid is getting too many MISSes.

开发者_如何学编程I think this depends on the Vary: Cookie header that lighty sends with every request.

how can I remove that header?


If there's any chance of different users getting a different page based on their cookie, you want the Vary: Cookie header in there even at the expense of lower hit rates. Otherwise user X may wind up getting user Y's cached page. Is this header being set on static content (i.e. images, .js, etc) as well as the page HTML?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜