{"id":18,"date":"2019-09-01T22:56:59","date_gmt":"2019-09-01T22:56:59","guid":{"rendered":"http:\/\/krautboy.com\/?p=18"},"modified":"2019-09-01T22:59:03","modified_gmt":"2019-09-01T22:59:03","slug":"yoast-seo-plugin-slow-page-loads","status":"publish","type":"post","link":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/","title":{"rendered":"Yoast SEO Plugin Slow Page Loads"},"content":{"rendered":"<h1>Yoast SEO Plugin Slow<\/h1>\n<p>After installing the Yoast SEO plugin I experienced pages being slow to&nbsp;load (usually the first time you hit each page). &nbsp;It looked like mysql was causing the slowdown based on watching the process list. This showed mysql sleeping during the time that I was waiting for a page load. Alas, no slow queries showed up in the slow query log. Instead I noticed the following query in the general query log when the pause happens:<\/p>\n<pre><span class=\"s1\">UPDATE `wp_options` SET `option_value` = '1439237518.7075259685516357421875' WHERE `option_name` = '_transient_doing_cron';<\/span><\/pre>\n<p>After a lot of searching on the web I found the solution. Disable the built in wp-cron and add manual cron entries. I suspect that Yoast SEO is adding some housekeeping stuff that is then causing a delay in the wp-cron load.<\/p>\n<p>To disable the process, modify your wp-config.php to have the following line:<\/p>\n<pre class=\"rainbow rb1\" data-language=\"shell\">define(<span class=\"string\">'DISABLE_WP_CRON'<\/span>, true);\nThen modify your crontab:\ncrontab -e\nTo have a line for each site you disable:<\/pre>\n<p class=\"p1\"><span class=\"s1\">*\/5 * * * * curl -I http:\/\/<em>example<\/em>.com\/wp-cron.php?doing_wp_cron<\/span><\/p>\n<p class=\"p1\">Problem solved!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yoast SEO Plugin Slow After installing the Yoast SEO plugin I experienced pages being slow to&nbsp;load (usually the first time you hit each page). &nbsp;It looked like mysql was causing the slowdown based on watching the process list. This showed mysql sleeping during the time that I was waiting for a page load. Alas, no &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Yoast SEO Plugin Slow Page Loads&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Yoast SEO Plugin Slow Page Loads - Krautboy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Yoast SEO Plugin Slow Page Loads - Krautboy\" \/>\n<meta property=\"og:description\" content=\"Yoast SEO Plugin Slow After installing the Yoast SEO plugin I experienced pages being slow to&nbsp;load (usually the first time you hit each page). &nbsp;It looked like mysql was causing the slowdown based on watching the process list. This showed mysql sleeping during the time that I was waiting for a page load. Alas, no &hellip; Continue reading &quot;Yoast SEO Plugin Slow Page Loads&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\" \/>\n<meta property=\"og:site_name\" content=\"Krautboy\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-01T22:56:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-01T22:59:03+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.krautboy.com\/#\/schema\/person\/4c0607e75730b8d767b1c8f35c7221a9\"},\"headline\":\"Yoast SEO Plugin Slow Page Loads\",\"datePublished\":\"2019-09-01T22:56:59+00:00\",\"dateModified\":\"2019-09-01T22:59:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\"},\"wordCount\":155,\"commentCount\":0,\"articleSection\":[\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\",\"url\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\",\"name\":\"Yoast SEO Plugin Slow Page Loads - Krautboy\",\"isPartOf\":{\"@id\":\"https:\/\/www.krautboy.com\/#website\"},\"datePublished\":\"2019-09-01T22:56:59+00:00\",\"dateModified\":\"2019-09-01T22:59:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.krautboy.com\/#\/schema\/person\/4c0607e75730b8d767b1c8f35c7221a9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.krautboy.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Yoast SEO Plugin Slow Page Loads\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.krautboy.com\/#website\",\"url\":\"https:\/\/www.krautboy.com\/\",\"name\":\"Krautboy\",\"description\":\"#krautboy r\/krautboy krautboy!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.krautboy.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.krautboy.com\/#\/schema\/person\/4c0607e75730b8d767b1c8f35c7221a9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c23bfad7d2ee58f3e1e80c3f5bb14cf83ab8b147fb975fc17b67748dcf520476?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c23bfad7d2ee58f3e1e80c3f5bb14cf83ab8b147fb975fc17b67748dcf520476?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c23bfad7d2ee58f3e1e80c3f5bb14cf83ab8b147fb975fc17b67748dcf520476?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.krautboy.com\/index.php\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Yoast SEO Plugin Slow Page Loads - Krautboy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/","og_locale":"en_US","og_type":"article","og_title":"Yoast SEO Plugin Slow Page Loads - Krautboy","og_description":"Yoast SEO Plugin Slow After installing the Yoast SEO plugin I experienced pages being slow to&nbsp;load (usually the first time you hit each page). &nbsp;It looked like mysql was causing the slowdown based on watching the process list. This showed mysql sleeping during the time that I was waiting for a page load. Alas, no &hellip; Continue reading \"Yoast SEO Plugin Slow Page Loads\"","og_url":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/","og_site_name":"Krautboy","article_published_time":"2019-09-01T22:56:59+00:00","article_modified_time":"2019-09-01T22:59:03+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#article","isPartOf":{"@id":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/"},"author":{"name":"admin","@id":"https:\/\/www.krautboy.com\/#\/schema\/person\/4c0607e75730b8d767b1c8f35c7221a9"},"headline":"Yoast SEO Plugin Slow Page Loads","datePublished":"2019-09-01T22:56:59+00:00","dateModified":"2019-09-01T22:59:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/"},"wordCount":155,"commentCount":0,"articleSection":["Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/","url":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/","name":"Yoast SEO Plugin Slow Page Loads - Krautboy","isPartOf":{"@id":"https:\/\/www.krautboy.com\/#website"},"datePublished":"2019-09-01T22:56:59+00:00","dateModified":"2019-09-01T22:59:03+00:00","author":{"@id":"https:\/\/www.krautboy.com\/#\/schema\/person\/4c0607e75730b8d767b1c8f35c7221a9"},"breadcrumb":{"@id":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.krautboy.com\/index.php\/2019\/09\/01\/yoast-seo-plugin-slow-page-loads\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.krautboy.com\/"},{"@type":"ListItem","position":2,"name":"Yoast SEO Plugin Slow Page Loads"}]},{"@type":"WebSite","@id":"https:\/\/www.krautboy.com\/#website","url":"https:\/\/www.krautboy.com\/","name":"Krautboy","description":"#krautboy r\/krautboy krautboy!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.krautboy.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.krautboy.com\/#\/schema\/person\/4c0607e75730b8d767b1c8f35c7221a9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c23bfad7d2ee58f3e1e80c3f5bb14cf83ab8b147fb975fc17b67748dcf520476?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c23bfad7d2ee58f3e1e80c3f5bb14cf83ab8b147fb975fc17b67748dcf520476?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c23bfad7d2ee58f3e1e80c3f5bb14cf83ab8b147fb975fc17b67748dcf520476?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.krautboy.com\/index.php\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":1,"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":19,"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/posts\/18\/revisions\/19"}],"wp:attachment":[{"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.krautboy.com\/index.php\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}