Apache和mod_pagespeed +清漆问题
我在Web层上有以下架构。 Varnish <-> Apache2 (mod_pagespeed <-> mod_jk) <-> Tomcat ^ ^ ^ | | |________: mod_jk | |_______________________________________________: port 8080 |__________________________________________________________: port 80 varnish和mod_pagespeed在默认configuration下安装。 现在,当我访问url http://example.org:8080然后我可以看到在源代码mod_pagespeed被调用,并重写了页面(在第二次刷新的心态,因为它没有caching的第一次) 但是,当我访问的urlhttp://example.org:80 mod_pagespeed没有被调用和HTML代码被呈现不变。 以下显示了每个交叉点上收到的http头 PORT 80 < Server: Apache/2.2.14 (Ubuntu) < Set-Cookie: JSESSIONID=95ABA0EB57ACCBE15C9D7035C4397BD3; Path=/ < X-Mod-Pagespeed: 0.9.17.7-716 < Cache-Control: max-age=0, no-cache, no-store < Vary: Accept-Encoding < Content-Type: text/html;charset=UTF-8 < Content-Length: […]