{"id":184861,"date":"2024-01-26T10:08:49","date_gmt":"2024-01-26T10:08:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/xml-cache\/"},"modified":"2026-03-28T13:23:49","modified_gmt":"2026-03-28T13:23:49","slug":"xml-cache","status":"publish","type":"plugin","link":"https:\/\/tg.wordpress.org\/plugins\/xml-cache\/","author":15428221,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.2","stable_tag":"2.1.2","tested":"7.0","requires":"6.4","requires_php":"8.2","requires_plugins":null,"header_name":"XML Cache","header_author":"GoSuccess","header_description":"Generates an XML sitemap for cache plugins.","assets_banners_color":"c86f4c","last_updated":"2026-03-28 13:23:49","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/gosuccess.io","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2236,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"gosuccess","date":"2024-01-26 10:08:16"},"1.1.0":{"tag":"1.1.0","author":"gosuccess","date":"2024-03-24 09:34:53"},"1.2.0":{"tag":"1.2.0","author":"gosuccess","date":"2024-03-27 12:33:51"},"1.2.1":{"tag":"1.2.1","author":"gosuccess","date":"2024-03-28 18:09:55"},"2.0.0":{"tag":"2.0.0","author":"gosuccess","date":"2025-08-28 06:08:48"},"2.1.0":{"tag":"2.1.0","author":"gosuccess","date":"2026-03-25 16:01:07"},"2.1.1":{"tag":"2.1.1","author":"gosuccess","date":"2026-03-25 16:22:43"},"2.1.2":{"tag":"2.1.2","author":"gosuccess","date":"2026-03-28 13:23:49"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3491061,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3491061,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3491061,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3491061,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3493337,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/wp-admin\\\/plugins.php\",\"preferredVersions\":{\"php\":\"8.3\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"xml-cache\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}"}},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.2.1","2.0.0","2.1.0","2.1.1","2.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3491061,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3491061,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"XML Cache Menu &amp; Settings.","2":"Enable or disable XML cache for a specific post or page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,223986,1513,1557,748],"plugin_category":[52,55],"plugin_contributors":[140488],"plugin_business_model":[],"class_list":["post-184861","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-litespeed-cache","plugin_tags-pagespeed","plugin_tags-sitemap","plugin_tags-xml","plugin_category-performance","plugin_category-seo-and-marketing","plugin_contributors-gosuccess","plugin_committers-gosuccess"],"banners":{"banner":"https:\/\/ps.w.org\/xml-cache\/assets\/banner-772x250.png?rev=3491061","banner_2x":"https:\/\/ps.w.org\/xml-cache\/assets\/banner-1544x500.png?rev=3491061","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/xml-cache\/assets\/icon.svg?rev=3491061","icon":"https:\/\/ps.w.org\/xml-cache\/assets\/icon.svg?rev=3491061","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/xml-cache\/assets\/screenshot-1.png?rev=3491061","caption":"XML Cache Menu &amp; Settings."},{"src":"https:\/\/ps.w.org\/xml-cache\/assets\/screenshot-2.png?rev=3491061","caption":"Enable or disable XML cache for a specific post or page."}],"raw_content":"<!--section=description-->\n<p>This plugin creates an XML sitemap with all posts, pages, categories, archives and tag pages, regardless of whether they are excluded from search engine indexing or not.<\/p>\n\n<p>The advantage over a normal sitemap is that no pages are excluded from the sitemap. You can specify the XML cache sitemap in your cache plugin, such as <a href=\"https:\/\/de.wordpress.org\/plugins\/litespeed-cache\/\">LiteSpeed Cache<\/a>, to fully warm up your website cache.<\/p>\n\n<!--section=installation-->\n<p>The easiest way to install XML Cache is by visiting your <strong>Plugins &gt; Add New<\/strong> menu. Search for \"XML Cache\" and install the first result you see there.<\/p>\n\n<p>To install with the zip file downloaded from this page:<\/p>\n\n<ol>\n<li>Login to your WordPress dashboard<\/li>\n<li>Visit the <strong>Plugins &gt; Add New<\/strong> menu<\/li>\n<li>Click the <strong>Upload Plugin<\/strong> button at the top<\/li>\n<li>In the upload form that appears, click the <strong>Choose file<\/strong> button and select the <strong>xml-cache.zip<\/strong> file you downloaded here<\/li>\n<li>Click the <strong>Install Now<\/strong> button<\/li>\n<li>Once the page reloads, click the blue <strong>Activate<\/strong> link<\/li>\n<li>Done.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20the%20url%20to%20the%20sitemap%3F\"><h3>What is the URL to the sitemap?<\/h3><\/dt>\n<dd><p>The sitemap can be accessed at \/cache.xml. You can also simply click on the \"Open Sitemap\" button in the settings to open the sitemap and copy the URL from the browser address bar.<\/p><\/dd>\n<dt id=\"how%20can%20i%20exclude%20posts%20and%20pages%20from%20the%20sitemap%3F\"><h3>How can I exclude posts and pages from the sitemap?<\/h3><\/dt>\n<dd><p>Open the post or page you want to exclude. You will find the option to disable the XML cache on the right.<\/p><\/dd>\n<dt id=\"the%20xml%20cache%20toggle%20does%20not%20appear%20for%20my%20custom%20post%20type.%20what%20can%20i%20do%3F\"><h3>The XML Cache toggle does not appear for my custom post type. What can I do?<\/h3><\/dt>\n<dd><p>The block editor requires the custom post type to declare support for <code>custom-fields<\/code>. If you registered the post type yourself, add it like this:<\/p>\n\n<pre><code>'supports' =&gt; array( 'title', 'editor', 'custom-fields' )\n<\/code><\/pre>\n\n<p>If the post type is registered by another plugin, you can add support in your theme's <code>functions.php<\/code>:<\/p>\n\n<pre><code>add_post_type_support( 'your_post_type', 'custom-fields' );\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Wrapped admin bar icon in ab-icon span to fix display issues.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fixed TypeError in block editor when a custom post type does not support custom-fields.<\/li>\n<li>Added FAQ entry for custom post type custom-fields requirement.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Multilingual support for Polylang, WPML, and TranslatePress.<\/li>\n<li>Admin bar integration with live URL count and quick actions.<\/li>\n<li>WP-CLI commands: status and flush.<\/li>\n<li>Site Health debug info section.<\/li>\n<li>Auto-regeneration on cache invalidation.<\/li>\n<li>Cache statistics on the admin settings page.<\/li>\n<li>5 new URL types: categories, tags, archives, custom post types, and attachments.<\/li>\n<li>Per-request throttling to prevent redundant cache invalidations.<\/li>\n<li>Responsive admin UI with container queries and pill-style stats badge.<\/li>\n<li>Removed Symfony DI for a lighter footprint.<\/li>\n<li>Updated all dependencies to latest versions.<\/li>\n<li>Added direct file access protection to all PHP files.<\/li>\n<li>Simplified GitHub workflows using 10up deploy actions.<\/li>\n<li>Bumped minimum WordPress version to 6.4.<\/li>\n<li>Tested up to WordPress 7.0.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite using PSR-4 autoloading and Composer.<\/li>\n<li>New React-based admin settings page.<\/li>\n<li>Custom post type support.<\/li>\n<li>REST API for settings and cache management.<\/li>\n<li>Refactored URL collection and sitemap pagination.<\/li>\n<li>WPCS compliance with strict types, docblocks, and sanitization.<\/li>\n<li>Requires PHP 8.2.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixed \"Undefined variable $numpage\".<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>XML cache now works if no permalinks are enabled.<\/li>\n<li>Paginated categories, tag pages, blog page and frontpage are now also included in the XML sitemap.<\/li>\n<li>Added blueprint for a live preview of the plugin.<\/li>\n<li>Various optimizations.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Paginated posts and pages are now also included in the XML sitemap.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Generates an XML sitemap for cache plugins.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/184861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=184861"}],"author":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gosuccess"}],"wp:attachment":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=184861"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=184861"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=184861"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=184861"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=184861"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=184861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}