开发者

How to optimize wordpress and squid

开发者 https://www.devze.com 2023-02-03 17:50 出处:网络
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.

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

精彩评论

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