Deferring Cache for Google News Sitemap

Hi guys,

I’ve decided to add a Google News sitemap to one of my websites, the problem being that according to Google, News sitemaps should NOT be cached.

After finding my way to the Cache > Exclusions settings, I found that the following exclusion was already added:

[a-z0-9_-][a-z0-9_-].(xml|xsl|html)(.gz)?
([a-z0-9_-]?)([a-z0-9_-])?.xml
/$

Looking at a Docs info by All In One SEO, they seem to think that the following exclusion should work:

/(.)sitemap(.).xml
/(.*)sitemap.xsl

The question then, is which of the above exclusion snippets shoud be added (if any),

1) The first (already added) snippet

or

2) The second exclusion snippet by AIOSEO,

or

3) None of the above?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer