{"id":29891,"date":"2010-04-03T14:42:14","date_gmt":"2010-04-03T18:42:14","guid":{"rendered":"http:\/\/wpmu.org\/?p=29891"},"modified":"2012-10-02T23:01:23","modified_gmt":"2012-10-03T03:01:23","slug":"daily-tip-quick-way-to-check-wordpress-page-load-times","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-quick-way-to-check-wordpress-page-load-times\/","title":{"rendered":"Quick Way to Check WordPress Page Load Times"},"content":{"rendered":"<p>Have you got a sluggish page on your WordPress installation?<\/p>\n<p>Are you curious to check out its loading time and the number of queries it&#8217;s sending?<\/p>\n<p>Just drop this little tag anywhere within one of your theme&#8217;s template files and it will display how many SQL queries are being executed and how long it takes. This is a handy little diagnostic check you can set up and remove or leave it in the footer of your page, whatever you like:<\/p>\n<p><code>&lt;?php echo get_num_queries(); ?&gt; queries in &lt;?php timer_stop(1); ?&gt; seconds<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you got a sluggish page on your WordPress installation? Are you curious to check out its loading time and the number of queries it&#8217;s sending? Just drop this little tag anywhere within one of your theme&#8217;s template files and it will display how many SQL queries are being executed and how long it takes. [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1,557],"tags":[548],"tutorials_categories":[],"class_list":["post-29891","post","type-post","status-publish","format-standard","hentry","category-news-community","category-development","tag-performance"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/29891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=29891"}],"version-history":[{"count":2,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/29891\/revisions"}],"predecessor-version":[{"id":181683,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/29891\/revisions\/181683"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=29891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=29891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=29891"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=29891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}