Rodion Gorkovenko
Rodion Gorkovenko

Reputation: 2862

Sitemap.xml - should I prefer lastmod to changefreq

Since I started use sitemap.xml for my site, I put changefreq: weekly for all significant pages (like algorithms and problems description). This seemed relevant since I sometimes find something to change or fix on these pages and in average each page could be expected to change during a week.

However, the number of pages grew, now I have about 80 of them and though I made changes to some of them, some are surely not changed even in a month.

Meanwhile google-bot scans my pages with almost the same rate, about 15 pages per day (perhaps earlier it was 10 per day) at average. So newly added pages are not scanned as soon as it used to be.

Would it be better to take some efforts and improve my application, so it could generate sitemap with lastmod:YYYY-MM-HH instead? Will it help telling google-bot not to rescan pages which obviously did not change since it scanned them earlier?

I would need to add timestamps to tables involved in rendering pages etc. So I'm curious to know beforehand whether this really should be done.

Thanks in advance!

Upvotes: 4

Views: 1820

Answers (1)

Rodion Gorkovenko
Rodion Gorkovenko

Reputation: 2862

I confirm that after changing my entries from changefreq to lastmod (and adding columns in the database to track these "lastmod" values for content) my pages seem to be indexed significantly speedier - usually new pages are indexed during the same day.

Of course I could not be 100% sure.

Upvotes: 5

Related Questions