• Resolved Guido Goluke

    (@majorlabel)


    I like the priming functionality, that uses an XML sitemap to pre-build the cache. Right now, I use Yoast to build my sitemap. But I also use a product filtering plugin, that adds query params to save the current filter to the URL. If I manually trigger caching, by for instance filtering on a certain product category, the URL will be cached (I use Redis and enabled caching of query params). That means that filtering on that same category a second time will be very fast.

    But, Yoast won’t build me URL’s for every possible combination of filters. Is there some plugin or other way that people have tackled this in the past?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @majorlabel

    Thank you for reaching out and i am happy to assist you with this.

    I am not sure abut this so you should probably reach out to Yoast or some other SEO plugin support.

    What you can is to try adding the parameter to the Performance>Page Cache>Advanced>Accepted query strings.

    I hope this helps!
    Thanks!

    Thread Starter Guido Goluke

    (@majorlabel)

    Hi Marko,

    Thanks for your answer. I don’t think adding the query parameters will trigger W3 Total Cache to prime those pages, will it? I think I’ll ask the people at Yoast if they allow hooking into the XML sitemap generation.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hey @majorlabel

    Sorry for the late reply. Once added to the filed, those pages will be cached when visited.

    In any case, you need a sitemap for priming so the best thing is to find a way to add those URL’s to the sitemap.

    Thanks

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

The topic ‘Create XML sitemaps with query params for priming’ is closed to new replies.