关于 SAP Spartacus SSR 服务器返回的响应是否应该被缓存的问题
分 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 服务器返回的响应是否应该被缓存的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 市盈率ttm为负数是什么意思
- 下一篇: 三国杀张让好不好用?三国杀张让攻略