Fresh pages
Part 8 · Your report3 minHow a site tells an agent how current it is: dates people see, dates in the data, sitemap lastmod, the server’s headers, a 304 on a repeat visit, and a dated feed.
Dates people can see
An agent weighing two sources prefers the newer one. A page with no date looks old next to one that has a date.
A scan looks for dates in the page text, and for a line that says when it was last updated.
Why it matters. Show when a page was published and last updated, in its text.
Dates in the data
The same dates belong in the structured data, where an agent reads them without parsing prose.
A scan checks they are there and in ISO 8601. A dateModified that moves on every deploy says the page always changed, which means nothing.
- ISO 8601
- The standard date format machines read: 2026-11-02, or 2026-11-02T10:00:00Z.
Why it matters. Put datePublished and dateModified in the structured data, as ISO 8601, and keep dateModified honest.
lastmod in the sitemap
A sitemap can say when each page last changed, with lastmod. A crawler uses it to decide what to fetch again.
A scan warns when every entry carries the same date: usually the day the sitemap was built, not the day the page changed.
Why it matters. Give each sitemap entry its own real lastmod. One date on every page teaches crawlers to ignore it.
What the server says
Every response can carry a Last-Modified date or an ETag: a fingerprint of this version of the page.
With either, an agent coming back can ask “has it changed?” instead of downloading the page again.
- ETag
- A fingerprint the server gives a version of a page, which changes when the page does.
Why it matters. Send Last-Modified, or an ETag, so an agent can tell whether a page changed without reading it again.
Answering a repeat visit
An agent coming back sends the ETag or the date it saw. If nothing changed, the server answers 304 and no page at all.
A scan makes that second request and measures what it costs: a few bytes, or the whole page again.
Why it matters. Answer If-None-Match and If-Modified-Since with 304 when nothing changed.
A fresh catalog
A shop’s feed is what agents quote prices from. If it is older than the pages, they quote yesterday’s.
A scan opens the feed and looks for when it was generated, in the file or its Last-Modified.
Why it matters. Stamp the product feed with when it was built, and rebuild it when the catalog changes.
What to aim for
Dates a person can see and a machine can read, that change only when the content does.
A server that says when, and answers 304 when nothing is new.
Why it matters. Dated pages, honest data, and a server that answers “nothing changed” cheaply.