Velohost Velohost

Astro Integration

Astro IndexNow

Automatically notify IndexNow-compatible search engines when Astro pages change — without resubmitting unchanged URLs.

Usage snapshot

2,203
Downloads in the last 30 days
Latest npm version · v2.1.0
Source: npm registry

Why this plugin exists

Search engines typically rely on crawling to discover content changes, which can introduce delays between when content is updated and when it is discovered.

IndexNow provides an open protocol for proactively notifying search engines when URLs are created, updated, or removed.

Astro IndexNow integrates directly into Astro’s build lifecycle and submits only URLs that have actually changed, based on the final generated HTML output.

What it delivers

Design principles

  • Build-time only — no runtime or client-side execution
  • Changed-only submissions based on real HTML output
  • No analytics, telemetry, or tracking
  • Deterministic and CI/CD-safe
  • No dashboards, background services, or cron jobs

What this plugin does

  • Detects real content changes using HTML hashing
  • Submits only changed URLs to IndexNow
  • Batches submissions to respect protocol limits
  • Runs automatically during astro build
  • Uses a small local cache for incremental behaviour

Installation

npm install astro-indexnow

Configuration is handled via the plugin options and a small local cache file used to detect changes between builds.

Project links

Source code, releases, documentation, and contribution guidelines.

Want the deep dive?

Read the FAQs for implementation details, design rationale, and integration guidance.

View plugin FAQs