• Resolved psamathe

    (@psamathe)


    This plug-in seems to be adding loads and loads of record to my wp_options table “wpseo_sitemap_1303_cache_validator”. Pages and pages of them in phpMyAdmin.

    Are these maintained ? or do they go on accumulating forever?

    A quick scan of my wp_options and I’ve around 500 such records on a really small site (35 posts, 21 pages and no comments).

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can disable the sitemap cache using the following filter.

    add_filter('wpseo_enable_xml_sitemap_transient_caching', '__return_false');

    Reference: https://kb.yoast.com/kb/sitemap-does-not-update/ (number 4)

    As for the current entries, you will have to remove them if you don’t want them there.

    Thread Starter psamathe

    (@psamathe)

    Many thanks.

    It was not the caching I was concerned about, more than accumulation of these records (500 cache records for a site of 35 posts and 21 pages).

    It’s difficult to count them accurately but this issue seems the same as has been reported on GitHub for quite some time now.

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    The database should not contain a large and increasing number of transient options. However, a bug was fixed a few versions ago that was causing the unintended behavior of multiple transient options. Some users have reported seeing this happening again and our development team has requested some additional information to help track down the cause. If you have further would like to provide the additional information or follow the progress of the report, you can do that here: https://github.com/Yoast/wordpress-seo/issues/5507

    Alternatively, we have a filter to disable transient caching:

    add_filter('wpseo_enable_xml_sitemap_transient_caching', '__return_false');

    Closed due to inactivity.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wpseo wp_options records clogging things up’ is closed to new replies.