A recrawl mostly fetches pages that haven’t changed since the last visit. That costs you requests, bandwidth and processing, and it costs the site the same. Incremental crawling is the set of techniques for doing less of that work. There are four common ones, and the point that is easy to miss is that each saves a different cost. Conditional requests save bytes, not requests. Hashing saves processing, not fetches. Only trusted timestamps and smarter scheduling reduce the number of requests, and both carry their own risks.
Key takeaways
- Separate three jobs: discovering what may have changed, fetching efficiently, and detecting whether the fields you care about changed.
- A 304 Not Modified response saves the body, not the request. A content hash saves downstream work, not the fetch.
- Sitemap
lastmodcan cut requests sharply, but only when the site keeps it accurate. Verify before trusting it. - A page-level validator is not a price-level one. Pages change for reasons unrelated to your fields, and prices can change without the page’s validator changing.
- Audit a sample of “unchanged” pages with full fetches, so you know what the shortcuts miss.
Why bother
Redundant fetching is common at scale. In July 2026 Cloudflare’s data suggested that over half of crawl traffic from AI crawlers is spent re-fetching pages that haven’t changed, as reported by TechCrunch. And HTTP caching, the feature built to avoid this, is rarely available to crawlers: in Google’s December 2024 post on HTTP caching, Gary Illyes wrote that about 0.026% of Google’s fetches were cacheable ten years earlier, and 0.017% at the time of writing (Google Search Central blog). For a product crawler, cutting unnecessary fetches is both cheaper and more polite.
The four techniques
| Technique | What it needs | What it saves | What it misses |
|---|---|---|---|
| Conditional requests | The site sends ETag or Last-Modified and honors If-None-Match or If-Modified-Since | Response bodies for unchanged pages | Not the request itself. Prices loaded by a separate API call won’t change the page’s validator |
| Trusted source timestamps | Accurate lastmod in sitemaps, or an updated-at field in a feed | Requests, bytes and processing for pages not marked as changed | Any change the site didn’t record, such as a price changed by a separate system |
| Field hashing | A normalized set of the fields you care about, hashed after parsing | Downstream writes, alerts and history rows for unchanged records | Nothing on the fetch side: you still download and parse every page |
| Change-rate scheduling | A history of past changes per URL | Requests to pages that rarely change | Changes that happen between visits, for as long as the interval lasts |
Each technique cuts a different cost
Share of a full recrawl's requests, bytes and reprocessing, under stated assumptions
Data behind the chart
| Approach | Requests sent | Bytes downloaded | Records reprocessed |
|---|---|---|---|
| Full recrawl | 100% | 100% | 100% |
| Conditional requests | 100% | 5.95% | 5% |
| Hash fields after fetch | 100% | 100% | 5% |
| Trusted sitemap lastmod | 5% | 5% | 5% |
| Layered, with 2% audit | 7% | 7% | 5% |
The idealized numbers show the shape, not a forecast. Real sites mix all four situations: some send reliable validators, many send none, and sitemaps range from precise to decorative.
Conditional requests: bytes, not requests
HTTP has had this built in for decades. A server labels a response with a validator, either an ETag or a Last-Modified date. On the next visit the client sends it back in If-None-Match or If-Modified-Since. If nothing changed, the server answers 304 Not Modified with headers only; under RFC 9110 a 304 cannot contain content. When both validators are sent, the standard tells servers to ignore If-Modified-Since and use the entity tag, and Google says its crawlers likewise use the ETag when both are present.
import requests
UA = {"User-Agent": "ExampleCollector/1.0 (+https://example.com/bot)"}
def fetch_if_changed(session, url, state):
headers = dict(UA)
if state.get("etag"):
headers["If-None-Match"] = state["etag"]
if state.get("last_modified"):
headers["If-Modified-Since"] = state["last_modified"]
r = session.get(url, headers=headers, timeout=(5, 30))
if r.status_code == 304:
return None # unchanged: no body was sent
r.raise_for_status()
state["etag"] = r.headers.get("ETag")
state["last_modified"] = r.headers.get("Last-Modified")
return r.text Three caveats. You still send every request, so this does nothing for request counts or rate limits. Many dynamic pages send no validator at all, or one that changes on every response because the page embeds a timestamp or token. And a validator describes the page, not your fields: if the price arrives through a separate JSON call, the HTML’s ETag can stay the same while the price moves.
Trusted timestamps: the only big cut in requests, if they’re true
A sitemap lastmod or a feed’s updated-at field lets you skip unchanged URLs without contacting them at all. The catch is accuracy. Google’s own guidance says it uses lastmod only if it is “consistently and verifiably accurate”, and ignores changefreq and priority entirely (Google Search Central). Treat it the same way: measure how often pages that lastmod calls unchanged actually changed, and trust the field per site only once it has earned it.
Field hashing: less processing, same fetching
When you can’t avoid the fetch, you can avoid the work after it. Normalize the fields you care about, hash them, and compare with the last hash for that record. Only a different hash creates a new history row, triggers an alert or invalidates a cache.
Pythonimport hashlib, json
from decimal import Decimal
FIELDS = ("title", "price", "currency", "availability")
def field_hash(rec):
norm = {k: rec.get(k) for k in FIELDS}
if norm["price"] is not None:
norm["price"] = str(Decimal(norm["price"]).quantize(Decimal("0.01")))
if norm["title"]:
norm["title"] = " ".join(norm["title"].split())
return hashlib.sha256(json.dumps(norm, sort_keys=True).encode()).hexdigest() Hash fields, not raw HTML. A raw page hash changes whenever a recommendation carousel rotates or a session token is embedded, which tells you nothing about the product. The same idea appears downstream in tools such as dbt, whose snapshots detect changes either by a trusted updated-at timestamp or by comparing chosen columns.
Change-rate scheduling: fewer visits, later news
Pages differ in how often they change. A scheduler can learn that from history and visit volatile pages often and stable ones rarely. The cost is delay: the longer the interval, the longer a change can sit unseen, and changes that happen between two visits merge into one.
Fewer visits, later news
Adaptive revisit schedule for three products over 60 days
Data behind the chart
| Product | Changes | Visits | Average delay, days | Longest delay, days |
|---|---|---|---|---|
| Changes often | 23 | 32 | 0.7 | 3 |
| Changes sometimes | 7 | 12 | 4.2 | 7 |
| Rarely changes | 1 | 10 | 6.0 | 6 |
In this simulation the three products together need 54 visits instead of 180, but the product that rarely changes waited six days before its one change was seen. Whether that is acceptable depends on the use. For assortment tracking it may be fine; for repricing it may not be. Set a maximum interval per product group from the business need, not only from the observed change rate.
Putting the layers together
- Discover: use trusted timestamps where a site has earned trust, and change-rate history everywhere else, to decide which URLs to visit.
- Fetch: send conditional requests to every URL you do visit, in case the site supports them.
- Detect: hash normalized fields after parsing, and write new records only on a change.
- Audit: every cycle, fully fetch a small random sample of URLs the shortcuts skipped or marked unchanged, and measure how many had in fact changed.
Record the three savings separately, as requests avoided, bytes avoided and records not rewritten, so you know which layer is doing the work. And keep the audit: it is the only thing that tells you what the other layers are missing. For how this fits into a broader monitoring job, see our competitor price monitoring guide.
Quick answers
What is incremental crawling?
Recrawling a site while skipping or minimizing work on pages that haven’t changed, using conditional requests, trusted timestamps, field hashing and change-rate scheduling.
Does a 304 Not Modified response save requests?
No. The client still sends the request; a 304 saves the response body. It reduces bandwidth and parsing, not the number of requests.
Can I rely on sitemap lastmod for recrawling?
Only after checking it. Google uses lastmod only when it is consistently and verifiably accurate. Measure how often pages marked unchanged actually changed before you trust it for a site.
Should I hash the whole page to detect changes?
No. Raw HTML changes for reasons unrelated to the product, such as rotating recommendations or embedded tokens. Hash the normalized fields you care about instead.
ETag or Last-Modified: which is better?
Send both if you have them. RFC 9110 tells servers to ignore If-Modified-Since when If-None-Match is present, and Google’s crawlers use the ETag when both are available.
Fresh data without the redundant fetches
Our collectors combine conditional requests, verified timestamps and field-level change detection, with audits to check what they miss. See price monitoring.
