{"id":391,"date":"2016-04-15T16:02:54","date_gmt":"2016-04-15T21:02:54","guid":{"rendered":"https:\/\/2016.maine.wordcamp.org\/?post_type=wcb_session&#038;p=391"},"modified":"2016-04-18T09:26:06","modified_gmt":"2016-04-18T14:26:06","slug":"faster-templates-with-the-transients-api","status":"publish","type":"wcb_session","link":"https:\/\/maine.wordcamp.org\/2016\/session\/faster-templates-with-the-transients-api\/","title":{"rendered":"Faster Templates With The Transients API"},"content":{"rendered":"<p>One of WordPress&#8217; best-kept secrets is the Transients API, which provides a built-in means to cache certain template markup in the database. You can use it to easily customize personalized pages for logged-in users, selectively cache parts of a template for different time lengths, and speed up the rendering of pages that just won&#8217;t work on a static cache. We&#8217;ll examine some use cases and how transients can help us solve common site caching challenges.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of WordPress&#8217; best-kept secrets is the Transients API, which provides a built-in means to cache certain template markup in the database. You can use it to easily customize personalized pages for logged-in users, selectively cache parts of a template for different time lengths, and speed up the rendering of pages that just won&#8217;t work &hellip; <a href=\"https:\/\/maine.wordcamp.org\/2016\/session\/faster-templates-with-the-transients-api\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Faster Templates With The Transients API&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3619363,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1463254200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[273],"footnotes":""},"session_track":[144],"session_category":[],"class_list":["post-391","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-development"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p78YyZ-6j","jetpack_likes_enabled":false,"session_date_time":{"date":"May 14, 2016","time":"3:30 pm"},"session_speakers":[{"id":"273","slug":"doug-vanderweide","name":"Doug Vanderweide","link":"https:\/\/maine.wordcamp.org\/2016\/speaker\/doug-vanderweide\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/391\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/391\/revisions\/637"}],"speakers":[{"embeddable":true,"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/273"}],"author":[{"embeddable":true,"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wporg\/v1\/users\/dougvdotcom"}],"wp:attachment":[{"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=391"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/maine.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}