Hello @langtuphidao
Thank you for contacting the support.
As mentioned here:
https://www.hongkiat.com/blog/prevent-wordpress-sitemap-cache/
To exclude the XML Sitemap from caching in W3 Total Cache go to Performance > Page Cache and scroll down to the section where it says “Never cache the following pages”. Enter the following strings in the box:
[a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
([a-z0-9_\-]*?)sitemap([a-z0-9_\-]*)?\.xml
If you are using Database Caching then add the same strings to the “Never cache the following pages” under Performance? Database Cache.
If you are using Minification then go to Performance > Minify and enter the same strings in the field under “Never minify the following pages”.
Finally, go to Performance > Browser Cache and make sure the same strings are in the “404 error exception list” field.
If that doesn’t help, please open a new support topic with the respective plugin:
https://www.ads-software.com/support/plugin/w3-total-cache/#new-topic-0
Hope that helps.