Sitecore和Cloudflare-个性化问题
每当我们在CloudFlare中清除缓存
时,我们以某种方式在Sitecore SXA页面上丢失了个性化。这是定期发生的,也发生在子页面
上,尤其是(基本上是父页面正确显示所有内容)。这也发生在页脚
页面设计中,因为它具有为页脚内部某些组件激活的个性化。
有人知道问题可能是什么吗?就像我说的那样,每当我们清除Cloudflare内的缓存时,问题就会发生。
同样,这始终发生在en-us
语言文化中。
Whenever we purge cache
in Cloudflare, we somehow lose the personalization on the Sitecore SXA page. This happens regularly and also on the subpages
especially (basically the parent page shows everything correctly). This happens also most of the time inside the footer
page design, as it has the personalization activated for certain component inside the footer.
Does anyone knows what the issue can be? Like I said the problem happens whenever we purge the cache inside the Cloudflare.
Also, this always happens inside the en-us
language culture, nowhere else.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有更多的信息并不容易理解在哪里解决此问题。
在您的应用程序中,您应该尝试禁用缓存以获取静态资产,如果在真正的流量下,您将获得负载。
这样,您将使资源无法缓存,强迫客户检索所有数据(CSS,JS等)。
当您找到使您饥饿的一堆文件(又称引起问题的文件)时,您可以还原默认的到期标题。
如果您不在免费计划中,则可以尝试此操作(如果在Edge上的免费计划最小ttl为2H):
CloudFlare CACHER规则
标题
With no more info is not so easy to understand where to fix this issue.
In your application you should try to disable cache for static assets, you will get load if under real heavy traffic then take care.
This way you will make resources not cached forcing clients to retrieve all data (css, js and so on).
When you will find the bunch of files which makes you hungry (aka the files which cause your issue) you can restore default expire headers.
You can try this if you are not on free plan (if are on free plan min TTL on edge is 2h):
Cloudflare cache rule
headers