Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudFlare 缓存会导致部分主题内链出现 404 或空白页 #3068

Open
BKDragon opened this issue Dec 19, 2024 · 0 comments
Open

CloudFlare 缓存会导致部分主题内链出现 404 或空白页 #3068

BKDragon opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@BKDragon
Copy link

描述bug
从首页进入,任意链接点进去都是 404 或空白页,但如果从 URL 进入对应的页面或点击一次刷新,则正常显示。
页面上的任意链接本身的 URL 是正确的,也就是无刷不能正确加载,但有刷可以。

期望的正常结果
可以正常跳转

复现步骤

前置条件:

  1. 开启 CloudFlare 强制缓存(设置一个缓存一切的规则,并设置边缘缓存时间为 4 小时);
  2. 使用 nobelium 主题;
  3. 站点在 Vercel 部署,开启静态部署(yarn export);

条件缺一不可。

环境

  • 【必填】NotionNext 4.7.11
  • 【必填】nobelium
  • 【必填】vercel 静态
  • 【可选】操作系统: [例如. iOS, Android, macOS, windows]
  • 【可选】浏览器 [例如. chrome, safari, firefox]

补充说明
【可选】与问题相关的其它说明

@BKDragon BKDragon added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants