分 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 服务器返回的响应是否应该被缓存的问题相关推荐

  1. 关于 SAP Spartacus SSR 模式和 CSR 模式下重复发送 HTTP 请求调用 OCC API 的问题

    我使用基于版本 3.4.5 的 Schematics 创建了一个店面,并在 SSR 模式下运行它. 我在浏览器中访问 http://localhost:4000/ 通过 Chrome 开发工具我知道主 ...

  2. java http 401_服务器返回HTTP响应代码:401,URL:https

    我正在使用Java访问HTTPS站点,该站点以XML格式返回显示内容.我在URL本身中传递了登录凭据.这是代码片段: DocumentBuilderFactory dbf = DocumentBuil ...

  3. SAP Spartacus SSR模式启用失败的一个原因:SSR rendering exceeded timeout

    https://github.com/SAP/spartacus/issues/10638 错误消息:SSR rendering exceeded timeout, fallbacking to CS ...

  4. 服务器响应401,服务器返回HTTP响应代码:401,URL:https

    我正在使用Java访问HTTPS站点,该站点以XML格式返回显示内容.我在URL本身中传递了登录凭据.这是代码片段: DocumentBuilderFactory dbf = DocumentBuil ...

  5. 2021-10-28 SAP Spartacus SSR 性能方面的一些学习笔记

    如果客户已经拥有 CDN 缓存,可以不启用 cache:true, cacheSize:xxx . 这种内存缓存功能仅适用于没有生产就绪 CDN 的简单店面.也就是说,如果客户没有任何外部缓存服务(a ...

  6. 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, ...

  7. SAP Spartacus SSR 模式下 index.html 页面的响应逻辑调试

    入口:所有的 regular route 都使用 universal engine: express 的 response 实现: express application 的实现: 静态资源,都从 b ...

  8. SAP Spartacus 服务器端渲染返回的源代码不全的问题及解决方案

    如下图所示: 我本地启用SSR后,服务器端返回渲染好的源代码里,每个cx-page-layout标签都是空的: 但是用来做SSR测试的服务器上,返回的是完整的源代码: 原因: Additionally ...

  9. 406(浏览器接收的响应类型和服务器返回的响应类型不匹配)

    也就是说,浏览器所接收的数据格式与服务器响应的数据格式是不匹配的. 浏览器接收的数据格式一般可以是任意格式,但是我们在发起Ajax请求时就已经确定了要接收的是Jsonp格式 响应的数据类型定义在的co ...

最新文章

  1. IntelliJ IDEA配置maven,并创建一个实例作为演示
  2. Java HttpClient使用小结
  3. hierarchy change in CRM - step1 inbound CSAIBASE queue
  4. MySQL日志的类型和实现方法_mysql的日志类型及作用
  5. AccessibilityService(无障碍辅助服务)
  6. MFC加入mysql后编译成功,在自己电脑上成功运行,当打包发送到其他电脑上报错, 缺少libcrypto-1_1-x64.dll以及缺少libssl-1_1-x64.dll问题解决方案,完美亲测
  7. gmp 5.0.1 windows 下编译使用
  8. php 获取搜索引擎,PHP获取搜索引擎关键字来源的函数(支持百度和谷歌等搜索引擎)...
  9. 计算机视觉物体识别的过程,(物体识别过程.doc
  10. ubuntu执行uci出现 uci: error while loading shared libraries: lib
  11. 编译jrtplib和jthread
  12. make: *** No targets specified and no makefile found. Stop.错误解决办法
  13. soot基础 -- 相关数据结构SootClass,SootMethod,SootBody,Unit的进一步说明
  14. pandas常用方法
  15. leaflet加载天地图影像、地形、矢量底图
  16. 【来日复制粘贴】跨sheet的数据录入
  17. 平价款的血糖血压监测工具,用它养成健康生活习惯,dido F50S Pro上手
  18. python中实现进度条的四种方法
  19. 64位操作系统(WIN10)+32位LabVIEW(2020)+64位MySQL,Windows10系统下用32位ODBC连接MySQL
  20. 赚钱门路分享:做公众号机器人赚了小桶金

热门文章

  1. Prometheus Querying Function rate() vs irate()
  2. 有关字符编码学习记录
  3. 14nm芯片技术突破 中国集电关键装备实现从无到有
  4. 希捷操作系统SeaOS工作原理
  5. Mac OS X下64位汇编与Linux下64位汇编的一些不同
  6. java基础----线程
  7. 如何使用新的邮件传输规则和邮件策略
  8. 1-1-Active Directory 基础结构要求
  9. PyQt4学习资料汇总
  10. 从零写一个编译器(三):语法分析之几个基础数据结构