Skip to content

BUG: Sitemap lastmod is a global build timestamp instead of a real page date #637

Description

@niehaus-alexander

Every URL in https://doc.dynamicweb.dev/sitemap.xml has the exact same <lastmod>
value (all 4748 entries share 2026-07-10T01:31:06+02:00, down to the second), so
it reflects the build time rather than when each page's content actually changed.
The sitemap spec defines <lastmod> as the date the page was last modified, so a
global build timestamp is semantically incorrect and useless for its main purpose,
which is telling consumers which pages changed. As a result anyone mirroring,
indexing, or caching the docs has to re-fetch and reprocess all 4700 pages on every
deploy instead of just the handful that actually changed. Could you emit a real per
page <lastmod> based on content changes, for example the source file's last Git
commit date, which DocFX supports via _gitContribute? Even day level granularity
would be a big improvement over one global timestamp. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions