【发布时间】:2020-03-23 16:00:02
【问题描述】:
它工作但不影响性能。我用对了吗?
/etc/varnish/default.vcl
backend default {
.host = "127.0.0.1";
.port = "4000"; }
我在 nginx 配置中添加了消失端口而不是 4000
location / {
proxy_pass http://localhost:6081;
}
我的 Angular 应用程序(google pagespeed)桌面性能为 99%,但移动性能为 40-60%。
【问题讨论】:
标签: node.js angular performance nginx varnish