Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否可以像 Varnish 或 Squid 折叠多个请求一样为 Apache 调度程序启用折叠转发。
我们正在使用 CQ5,它在后台进行了一些非常繁重的转换,我不希望多个请求到达源。
任何有关您是否可以以及如何启用此功能的帮助将不胜感激。
我认为你应该看看为什么你有这么多的要求。图片等应该只需要从您的发布一次,然后缓存在调度程序上,因此不会有更多的请求进入发布。
对于 javascript/css,您可以使用 embed 将 clientlibs 组合在一个文件中。查看此源以了解应如何配置客户端库以将所有 js 和 css 文件合并为 1
http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2012/12/clientlibs-explained-by-example.html