Loading

Data 360: Refresh and Change Detection for Website and Sitemap Connectors

Veröffentlichungsdatum: Sep 14, 2026
Beschreibung

Initial and Incremental Refreshes

The first refresh establishes a baseline by ingesting all eligible content discovered by the connector. On later refreshes, the connector reevaluates eligible URLs and compares each page's change indicator with the value from the previous run.

  • New or changed pages are ingested again.
  • Unchanged pages are skipped from downstream processing.
  • Pages that are no longer in the connector's source scope can be removed.


Reevaluating a URL can still require an HTTP request to the source website. Incremental refresh reduces unnecessary downstream ingestion and processing; it doesn't guarantee that the connector won't revisit the page.

How Page Changes Are Detected

For each page, the connector selects a change indicator in this order:

  1. Last-Modified HTTP response header
  2. ETag HTTP response header, when Last-Modified isn't available
  3. Hash of the fetched page content, when neither header is available


The selected value is compared with the value stored from the previous refresh. If it differs, the page is treated as changed.

If a response contains both Last-Modified and ETag, Last-Modified takes precedence.

NOTE: For Sitemap connectors, the <lastmod> value in sitemap.xml isn't used for page change detection. Change detection uses the HTTP response for each page listed in the sitemap.

Requirements for HTTP Validation Headers

For the most reliable incremental refresh behavior, configure your origin server or content delivery network (CDN) to return an accurate Last-Modified or ETag header for page responses.

The header value must be:

  • Stable while the page representation is unchanged.
  • Updated when the content that the connector retrieves changes.
  • Consistent across origin servers, CDN edges, and repeated requests for the same representation.


Don't configure a permanently fixed or stale value. Because header-based indicators take precedence over content hashing, an inaccurate header can prevent a legitimate content change from being detected.

Content-Hash Fallback and Dynamic Markup

When neither validation header is available, the connector compares a hash of the fetched page content. Any difference in the response can change the hash, even when the visible article or page text appears unchanged.

Common sources of request-specific markup include:

  • Rotating CSRF or anti-spam tokens
  • Timestamps or request identifiers
  • Personalized content
  • A/B testing or advertising markup
  • Dynamically generated hidden fields
  • Email-address obfuscation
  • CDN or security-tool markup


If these values change on every request, the connector can treat the page as changed on every refresh. This can lead to repeated ingestion and additional downstream processing.

Website and Sitemap Connectors

The connectors use the same page-level change-detection sequence. They differ in how URLs are discovered:

  • The Website connector starts from configured URLs and discovers pages by following eligible links within the configured crawl scope.
  • The Sitemap connector reads URLs supplied by the sitemap.


Use the Sitemap connector when the sitemap provides the authoritative list of pages to ingest. Use the Website connector for controlled link discovery, and choose the crawl depth carefully to avoid unexpectedly expanding the number of pages visited.

Lösung

Diagnose Pages That Are Reprocessed Repeatedly

1. Inspect Response Headers

Run a header request for an affected page.

curl -sI https://example.com/page

Check the result in this order.

  1. If Last-Modified exists, run the command again and verify that the value remains unchanged when the page content hasn't changed.
  2. If Last-Modified is absent but ETag exists, run the command again and verify that the ETag remains unchanged.
  3. If neither header exists, compare the page responses.


A validation header that changes on every request can cause the page to be detected as changed. A header that never changes can cause actual updates to be missed.

2. Compare Page Responses

When neither validation header is present, save two responses taken close together.

curl -sL https://example.com/page -o page-1.html
curl -sL https://example.com/page -o page-2.html
diff -u page-1.html page-2.html

Review differences in both visible and hidden markup. Request-specific differences can change the page-content hash.

3. Check Website Infrastructure

Ask your website or CDN administrator to verify:

  • Cache rules and validation-header behavior
  • Consistent responses across CDN edges and origin servers
  • Personalization, security, and anti-spam plugins
  • Web application firewall or bot-management responses
  • Intermittent 403, 404, 429, or empty successful responses

4. Review Connector Scope

Confirm that:

  • The selected connector type matches the URL-discovery strategy.
  • Crawl depth and seed URLs don't create overlapping or unexpectedly large scopes.
  • URL filters don't exclude required pages.
  • The source returns complete content to non-browser HTTP clients.

Recommended Configuration

  • Return an accurate and stable Last-Modified or ETag header.
  • Ensure the selected header changes whenever the retrieved page representation changes.
  • Minimize request-specific markup in pages intended for ingestion.
  • Keep sitemap responses complete and consistently available.
  • Use controlled crawl depth and avoid overlapping Website connector scopes.
  • Monitor refresh history and investigate unexpected increases in changed-record counts.
Nummer des Knowledge-Artikels

005459966

 
Laden
Salesforce Help | Article