Title: How are sitemaps generated?
Last modified: November 1, 2020

---

# How are sitemaps generated?

 *  Resolved [deandid](https://wordpress.org/support/users/lcm404/)
 * (@lcm404)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-are-sitemaps-generated/)
 * – When new pages are published, are they appended to new XML files (or the most
   recently created XML file) OR are all of the XML files regenerated?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-are-sitemaps-generated/#post-13606996)
 * Hi, there are no XML files created. The responses are dynamic, just like all 
   other feeds, archives, posts and pages in WordPress. You will (or should) not
   find any static xml files via FTP or hosting provider file browser.
 *  Thread Starter [deandid](https://wordpress.org/support/users/lcm404/)
 * (@lcm404)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-are-sitemaps-generated/#post-13607495)
 * So the XML files are dynamic and populated when you load each is requested? Are
   they cached? Just trying to understand how this plugin works?
 *  Plugin Author [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-are-sitemaps-generated/#post-13607623)
 * The plugin uses the internal WordPress caching mechanism (allowing object caching)
   and parts of the post/page data is actively cached (as metadata) but not the 
   xml output itself. If you wish to have the output cached, you can use any of 
   the usual caching plugins. Just make sure the .xml file extension is not excluded
   in the cache plugin settings 🙂
 * Only the news sitemap is actively excluded from being cached with the DONOTCACHEPAGE
   constant, although I’m not sure all cache plugins respect it.
    -  This reply was modified 5 years, 7 months ago by [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How are sitemaps generated?’ is closed to new replies.

 * ![](https://ps.w.org/xml-sitemap-feed/assets/icon-128x128.png?rev=1112143)
 * [XML Sitemap & Google News](https://wordpress.org/plugins/xml-sitemap-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xml-sitemap-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xml-sitemap-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xml-sitemap-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xml-sitemap-feed/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/how-are-sitemaps-generated/#post-13607623)
 * Status: resolved