{"id":1106,"date":"2018-11-12T16:00:31","date_gmt":"2018-11-12T21:00:31","guid":{"rendered":"https:\/\/2018.toronto.wordcamp.org\/?post_type=wcb_session&#038;p=1106"},"modified":"2018-12-29T12:47:18","modified_gmt":"2018-12-29T17:47:18","slug":"fast-and-furious-using-redis-as-a-wordpress-object-cache","status":"publish","type":"wcb_session","link":"https:\/\/toronto.wordcamp.org\/2018\/session\/fast-and-furious-using-redis-as-a-wordpress-object-cache\/","title":{"rendered":"Fast and furious: using Redis as a WordPress object cache"},"content":{"rendered":"<p>WordPress makes dozens (or hundreds) of SQL queries every time it serves a page. Every single one of them involves MySQL, and many of them hit the disk. Learn how Redis can turn those hundreds of queries into a handful, speeding up your site and reducing the load on your database.<\/p>\n<p>Along the way, you&#8217;ll learn about WordPress transients (a way of storing data temporarily in the WordPress database), see the world&#8217;s most technically-compliant cache, and learn secondhand about server crashes (so you don&#8217;t have to learn firsthand).<\/p>\n<p>In the session, you will receive the preliminary results of experiments to evaluate the impact of <span class=\"prog\">Gutenberg<\/span> on a site&#8217;s database load. For example, does the way Gutenberg blocks are stored or the standardization of blocks reduces the hits on the server?<\/p>\n<p>In this talk, you&#8217;ll learn:<\/p>\n<ul class=\"compactList\">\n<li>How WordPress transients work<\/li>\n<li>setting up an external object cache with Redis<\/li>\n<li>simple Redis monitoring<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WordPress makes dozens (or hundreds) of SQL queries every time it serves a page. Every single one of them involves MySQL, and many of them hit the disk. Learn how Redis can turn those hundreds of queries into a handful, &hellip; <a href=\"https:\/\/toronto.wordcamp.org\/2018\/session\/fast-and-furious-using-redis-as-a-wordpress-object-cache\/\">Continue reading <span class=\"assistive-text\">Fast and furious: using Redis as a WordPress object cache<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":16141234,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1543699800,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"https:\/\/wordpress.tv\/2018\/12\/28\/doug-sheppard-fast-and-furious-using-redis-as-a-wordpress-object-cache\/","_wcpt_speaker_id":[1104],"footnotes":""},"session_track":[174416],"session_category":[],"class_list":["post-1106","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-room-3"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa1ZDU-hQ","jetpack_likes_enabled":true,"session_date_time":{"date":"December 1, 2018","time":"4:30 pm"},"session_speakers":[{"id":"1104","slug":"doug-sheppard","name":"Doug Sheppard","link":"https:\/\/toronto.wordcamp.org\/2018\/speaker\/doug-sheppard\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1106\/revisions"}],"predecessor-version":[{"id":1107,"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1106\/revisions\/1107"}],"speakers":[{"embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/1104"}],"author":[{"embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wporg\/v1\/users\/sirilyan"}],"wp:attachment":[{"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=1106"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=1106"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=1106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}