美文网首页
关于 SAP Spartacus SSR 服务器返回的响应是否应

关于 SAP Spartacus SSR 服务器返回的响应是否应

作者: _扫地僧_ | 来源:发表于2021-11-01 10:41 被阅读0次

    分 SSR 和 CSR 两种情况进行讨论。

    when a page is CSR fallback, the CSR app is served with the Cache-Control:no-store header to ensure it is not cached by the caching layer.

    when a page is CSR fallback, the CSR app is served with the Cache-Control:no-store header to ensure it is not cached by the caching layer.

    On the other hand, if a page request is served in SSR mode, the response returned by SSR server could be cached in CDN. In this case, the response does not have Cache-Control: no-store in the header.

    Cache-Control: no-store is only there in CSR fallback case.

    更多Jerry的原创文章,尽在:"汪子熙":


    相关文章

      网友评论

          本文标题:关于 SAP Spartacus SSR 服务器返回的响应是否应

          本文链接:https://www.haomeiwen.com/subject/qgsenltx.html