XML Cache v2.1.0
Highlights
This release brings major new features, including multilingual support, an admin bar integration, WP-CLI commands, and a smarter cache that auto-regenerates on invalidation.
New Features
- Multilingual support for Polylang, WPML, and TranslatePress — all translated URLs are automatically included in the sitemap.
- Admin bar integration with flame icon, live URL count, and quick actions: Open Sitemap, Copy URL, and Clear Cache.
- WP-CLI commands:
wp xml-cache statusandwp xml-cache flushfor managing the sitemap from the command line. - Site Health debug info section showing sitemap URL, cache status, and all settings.
- Auto-regeneration: the sitemap automatically rebuilds whenever the cache is cleared — it's never empty.
- Cache statistics displayed on the admin settings page with URL count and cache status.
- 5 new URL types: categories, tags, archives, custom post types, and attachments — each toggleable in settings.
- Per-request throttling to prevent redundant cache invalidations.
- Cache invalidation on activation/deactivation to keep the sitemap in sync.
Improvements
- Responsive admin UI using container queries, pill-style stats badge, and unified button styling.
- Snackbar notifications fixed to the bottom-right corner.
- Removed Symfony DI — all services are now wired manually for a lighter footprint.
- Sitemap caching with no expiration via WordPress transients; includes
lastmodtimestamps. - Meta box registered for all public post types (including attachments).
Maintenance
- Updated all npm dependencies to latest versions.
- Fixed all PHPCS violations and added direct file access protection to all PHP files.
- Added
.distignoreto exclude dev files from production builds. - Simplified GitHub workflows using 10up deploy actions.
- Bumped minimum WordPress version to 6.4.
- Tested up to WordPress 7.0.