相关疑难解决方法(0)

在Cache-Control HTTP标头中使用max-age和s-maxage是否有意义?

考虑到max-age适用于所有缓存,而s-maxage仅适用于共享缓存(代理和网关缓存)....

在非可过期和公共页面中使用这两个指令是否有意义?

控制器伪代码:

w = Response();
w.setPublic();
w.setMaxAge("1 year");
w.setShareMaxAge("1 year");

return w;
Run Code Online (Sandbox Code Playgroud)

caching http http-headers

27
推荐指数
2
解决办法
2万
查看次数

标签 统计

caching ×1

http ×1

http-headers ×1