Deploying with Cloudflare Pages causes all pages to show the same last update time #4973
|
Even though locally deployed sites show a different update time for each page, after deploying via Cloudflare Pages, every page displays the same update time — the time of the latest commit. |
Answered by
brc-dd
Oct 6, 2025
Replies: 1 comment 6 replies
|
Read the note on top of https://vitepress.dev/reference/default-theme-last-updated Chinese version is outdated, so you might need to use some translator. |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hmm, very weird. Is the site/repo public? Can you try deploying again or maybe clearing your browser cache? If the build logs are accessible, does it show any git fetch step? Does your GitHub repo show correct history?
It seemed to work fine fine for others - https://blog.cat73.org/posts/2024/05-cloudflare-vitepress-lastupdate, https://neon-blog.pages.dev/miscellaneous/vitepress_fix_cloudflare_page_lastUpdated_display_error, #3580