=== Fixora Sitemap Cache ===
Contributors: 0322lf
Tags: sitemap, sitemap cache, xml sitemap, cache, seo
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sitemap cache for faster XML sitemap delivery — static background generation for Yoast SEO, Rank Math, and WordPress core sitemaps.

== Description ==

**Fixora Sitemap Cache** (wordpress.org slug: `cache-xml-sitemap`) pre-generates static XML sitemap cache files and serves them with correct `application/xml` headers. Built for sites using Yoast SEO, Rank Math, or WordPress core `wp-sitemap` XML.

**What this release does**

* Detects Yoast SEO, Rank Math, and core WordPress XML sitemaps when present.
* WP-Cron background regeneration; fast static file serving for sitemap URLs.
* Admin UI: per-provider toggles, cache status, clear cache, regenerate now.
* Page-cache conflict notices (LiteSpeed Cache, W3 Total Cache, WP Super Cache).
* Optional Yoast internal transient sitemap cache toggle (off by default) with stale-cache warning.
* Subdirectory installs: request paths normalized against `home_url` for reliable cache hits.

This plugin replaces the legacy 1.x release that only enabled Yoast's `wpseo_enable_xml_sitemap_transient_caching` filter. Version 2.0.0 is a full rewrite under the same plugin slug.

== Installation ==

1. Upload the `cache-xml-sitemap` folder to `/wp-content/plugins/` (or update via WordPress.org).
2. Activate **Fixora Sitemap Cache**.
3. Open **Settings → Sitemap Cache**, enable providers, click **Regenerate now**.
4. Verify your sitemap URL returns XML and `X-Fixora-Sitemap-Cache: hit` (see FAQ).

== Frequently Asked Questions ==

= How do I verify the sitemap cache is working? =

After regeneration: `curl -sI https://yoursite.example/wp-sitemap.xml` (or `/sitemap_index.xml`). Expect `Content-Type: application/xml` and `X-Fixora-Sitemap-Cache: hit`.

= Does this store visitor IP addresses? =

No. Internal logs are capped and redact IP-like patterns.

== Screenshots ==

1. Settings and provider toggles
2. Cache status and page-cache helper notices
3. Regenerate now and clear cache actions

== Changelog ==

= 2.0.0 =
* **Major rewrite** (Fixora Labs): static background sitemap cache, multi-provider support (Yoast SEO, Rank Math, core wp-sitemap), admin settings and status UI, page-cache conflict helper, subdirectory path normalization.
* Replaces the legacy Viraltec-era 1.0.1.1 plugin that only filtered Yoast transient sitemap caching on the same `cache-xml-sitemap` slug.

= 1.0.1.1 =
* Legacy: Yoast transient sitemap caching filter only (superseded by 2.0.0).

== Upgrade Notice ==

= 2.0.0 =
Major rewrite: new admin screen, static cache files under uploads, and broader sitemap provider support. Regenerate cache after upgrading.
