关于 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 服务器返回的响应是否应该被缓存的问题相关推荐
- 关于 SAP Spartacus SSR 模式和 CSR 模式下重复发送 HTTP 请求调用 OCC API 的问题
我使用基于版本 3.4.5 的 Schematics 创建了一个店面,并在 SSR 模式下运行它. 我在浏览器中访问 http://localhost:4000/ 通过 Chrome 开发工具我知道主 ...
- java http 401_服务器返回HTTP响应代码:401,URL:https
我正在使用Java访问HTTPS站点,该站点以XML格式返回显示内容.我在URL本身中传递了登录凭据.这是代码片段: DocumentBuilderFactory dbf = DocumentBuil ...
- SAP Spartacus SSR模式启用失败的一个原因:SSR rendering exceeded timeout
https://github.com/SAP/spartacus/issues/10638 错误消息:SSR rendering exceeded timeout, fallbacking to CS ...
- 服务器响应401,服务器返回HTTP响应代码:401,URL:https
我正在使用Java访问HTTPS站点,该站点以XML格式返回显示内容.我在URL本身中传递了登录凭据.这是代码片段: DocumentBuilderFactory dbf = DocumentBuil ...
- 2021-10-28 SAP Spartacus SSR 性能方面的一些学习笔记
如果客户已经拥有 CDN 缓存,可以不启用 cache:true, cacheSize:xxx . 这种内存缓存功能仅适用于没有生产就绪 CDN 的简单店面.也就是说,如果客户没有任何外部缓存服务(a ...
- SAP Commerce Cloud WCMS 里的 home 页面和 SAP Spartacus Page API 返回的数据比较
You can only create new components in the WCMS Page View perspective. In the Live Edit perspective, ...
- SAP Spartacus SSR 模式下 index.html 页面的响应逻辑调试
入口:所有的 regular route 都使用 universal engine: express 的 response 实现: express application 的实现: 静态资源,都从 b ...
- SAP Spartacus 服务器端渲染返回的源代码不全的问题及解决方案
如下图所示: 我本地启用SSR后,服务器端返回渲染好的源代码里,每个cx-page-layout标签都是空的: 但是用来做SSR测试的服务器上,返回的是完整的源代码: 原因: Additionally ...
- 406(浏览器接收的响应类型和服务器返回的响应类型不匹配)
也就是说,浏览器所接收的数据格式与服务器响应的数据格式是不匹配的. 浏览器接收的数据格式一般可以是任意格式,但是我们在发起Ajax请求时就已经确定了要接收的是Jsonp格式 响应的数据类型定义在的co ...
最新文章
- IntelliJ IDEA配置maven,并创建一个实例作为演示
- Java HttpClient使用小结
- hierarchy change in CRM - step1 inbound CSAIBASE queue
- MySQL日志的类型和实现方法_mysql的日志类型及作用
- AccessibilityService(无障碍辅助服务)
- MFC加入mysql后编译成功,在自己电脑上成功运行,当打包发送到其他电脑上报错, 缺少libcrypto-1_1-x64.dll以及缺少libssl-1_1-x64.dll问题解决方案,完美亲测
- gmp 5.0.1 windows 下编译使用
- php 获取搜索引擎,PHP获取搜索引擎关键字来源的函数(支持百度和谷歌等搜索引擎)...
- 计算机视觉物体识别的过程,(物体识别过程.doc
- ubuntu执行uci出现 uci: error while loading shared libraries: lib
- 编译jrtplib和jthread
- make: *** No targets specified and no makefile found. Stop.错误解决办法
- soot基础 -- 相关数据结构SootClass,SootMethod,SootBody,Unit的进一步说明
- pandas常用方法
- leaflet加载天地图影像、地形、矢量底图
- 【来日复制粘贴】跨sheet的数据录入
- 平价款的血糖血压监测工具,用它养成健康生活习惯,dido F50S Pro上手
- python中实现进度条的四种方法
- 64位操作系统(WIN10)+32位LabVIEW(2020)+64位MySQL,Windows10系统下用32位ODBC连接MySQL
- 赚钱门路分享:做公众号机器人赚了小桶金