WP Components lets one WordPress site act as a Host that publishes a Library of named pieces of content — a logo, a tagline, a social-links JSON blob, a privacy notice — and any number of other sites act as Receivers that subscribe to that Host and consume those components instantly.
Every component has a stable slug, a type (json, text, or file), a per-component cache TTL, and an auto-incrementing version number that becomes its HTTP ETag. Subscribers fetch the latest version on demand and revalidate cheaply with 304 Not Modified for unchanged content.
A single site can also act as both Host and Receiver — publish your own Library while subscribing to one or more remote Hosts.
/raw response sends ETag, Last-Modified, and Cache-Control: public, max-age=<TTL>, must-revalidate. Conditional requests get 304 Not Modified.*.example.com wildcard support).GET /wp-json/wp-components/v1/components — list all published componentsGET /wp-json/wp-components/v1/components/{slug} — fetch one as JSON metadataGET /wp-json/wp-components/v1/components/{slug}/raw — fetch with type-appropriate Content-Type (text/plain, application/json, or proxied file bytes)