• Resolved deeveearr

    (@deeveearr)


    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?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support qtwrk

    (@qtwrk)

    regex and wildcard is not supported in our case , only partial string

    for example in your case, you can just put

    xml
    xls

    into that field , this will nocache for all URI that contains .xml and xls

    Thread Starter deeveearr

    (@deeveearr)

    Hi @qtwrk

    Right, I’ve just done that, so I can start publishing a few Google News posts now then.

    Thanks for the assistance!

    Plugin Support qtwrk

    (@qtwrk)

    you can verify by the http response header , you should see x-litespeed-cache-control: no-cache for sitemap URLs

    Thread Starter deeveearr

    (@deeveearr)

    Hi @qtwrk

    I cannot see anything in the response header except for a ‘miss’ by x-qc-cache.

    However, going over to the news sitemap, it’s showing: cache-control no-cache no-store must-revalidate max-age=0

    Plugin Support qtwrk

    (@qtwrk)

    that means it didn’t work

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    and also share one of these sitemap link in report note

    Thread Starter deeveearr

    (@deeveearr)

    Hi @qtwrk

    Ok so I’ve sent over TWO reports, the first one being – DSYWDRES

    … and the second one being – QRGCXSLF – which contains a passwordless link.

    The first report contains links to my two present sitemaps (one normal one and a video one) plus the link to my News sitemap.

    Plugin Support qtwrk

    (@qtwrk)

    it is showing x-litespeed-cache-control no-cache

    Thread Starter deeveearr

    (@deeveearr)

    Hi @qtwrk

    So it’s ok to plod on with then?

    And what’s the website that you pulled the above doc from, as I couldn’t find one anywhere?

    Plugin Support qtwrk

    (@qtwrk)

    it’s first sitemap link from report QRGCXSLF you provided

    yes, when it shows x-litespeed-cache-control: no-cache, which means that sitemap is not being cached as you intent

    Thread Starter deeveearr

    (@deeveearr)

    Hi @qtwrk

    Sorry, seems that there’s a language barrier here.

    Is it now ok to use the News Sitemap?

    Plugin Support qtwrk

    (@qtwrk)

    in short reply , yes

    Thread Starter deeveearr

    (@deeveearr)

    Super @qtwrk this issue can now be marked as Resolved.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.