{"id":17066741,"date":"2023-09-20T18:54:39","date_gmt":"2023-09-20T18:54:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/performance-issue-with-multisite\/"},"modified":"2023-09-20T18:54:39","modified_gmt":"2023-09-20T18:54:39","slug":"performance-issue-with-multisite","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/performance-issue-with-multisite\/","title":{"rendered":"Performance issue with Multisite"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It looks like the current version of the plugin has a bug for WordPress Multisite (perhaps single site as well?) where <code>Embed_Extended::update_db_check()<\/code> runs on every request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is because it&#8217;s using <code>get_site_option()<\/code> to collect the currently installed version, but <code>update_option()<\/code> to set it after an upgrade. This results in the plugin constantly clearing its cache. Switching to <code>update_site_option()<\/code> seems to fix the problem.<\/p>\n","protected":false},"template":"","class_list":["post-17066741","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17066741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17066741\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17066741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}