{"id":136,"date":"2021-09-10T20:13:14","date_gmt":"2021-09-10T20:13:14","guid":{"rendered":"https:\/\/eventfeed.click\/?post_type=docs&#038;p=136"},"modified":"2021-10-27T00:23:20","modified_gmt":"2021-10-27T00:23:20","slug":"eventbrite-cache","status":"publish","type":"docs","link":"https:\/\/eventfeed.click\/docs\/eventbrite-cache\/","title":{"rendered":"Eventbrite Cache"},"content":{"rendered":"<h2 id=\"understanding-caching\">Understanding caching<a class=\"anchor\" href=\"#understanding-caching\">#<\/a><\/h2>\n<p>Thanks to caching, your server doesn&#8217;t need to request new information from Eventbrite every time the user lands on your website. Instead, you can specify the period in which the new data will be requested, and in between, our plugin will be serving cached data. Of course, cached data can be slightly outdated, but in reality, this strategy has more pros than cons.<\/p>\n<p>One benefit is that your event feed will load quickly for the user \u2014 and trust us \u2014 if users don&#8217;t like something, it&#8217;s waiting for the slow website to be loaded. Another benefit is that your server will be using fewer resources, so you can be okay even when using a cheaper hosting plan.<\/p>\n<h2 id=\"setting-cache-period\">Setting cache period<a class=\"anchor\" href=\"#setting-cache-period\">#<\/a><\/h2>\n<p>To set the cache period, go to <strong>Eventbrite Events<\/strong>\u00a0\u2192\u00a0<strong>Settings<\/strong>. You should see this select input right under the API key settings.<\/p>\n<p>We recommend setting the cache period to at least <em>one day<\/em>. Use lower value only when you don&#8217;t have many events published on Eventbrite.<\/p>\n<p><a class=\"popup-image no-border no-shadow\" href=\"https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-874 size-full\" src=\"https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache-2.png\" alt=\"Setting Eventbrite Cache period\" width=\"767\" height=\"291\" srcset=\"https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache-2.png 767w, https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache-2-300x114.png 300w\" sizes=\"auto, (max-width: 767px) 100vw, 767px\" \/><\/a><\/p>\n<h2 id=\"manually-deleting-cache\">Manually deleting cache<a class=\"anchor\" href=\"#manually-deleting-cache\">#<\/a><\/h2>\n<p>If you make a substantial change on Eventbrite \u2014 e.g., you change the event&#8217;s date or venue \u2014 you can still clear the cache manually to reflect the changes to your event feeds immediately. You can find the <strong>&#8220;Delete Eventbrite Cache&#8221;<\/strong> button on the right side of the admin bar on both the front-end and back-end parts of your WordPress website.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-870 size-full\" src=\"https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache.png\" alt=\"'Delete Eventbrite Cache' button in admin bar\" width=\"315\" height=\"32\" srcset=\"https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache.png 315w, https:\/\/eventfeed.click\/wp-content\/uploads\/2021\/09\/cache-300x30.png 300w\" sizes=\"auto, (max-width: 315px) 100vw, 315px\" \/><\/p>\n","protected":false},"featured_media":0,"template":"","class_list":["post-136","docs","type-docs","status-publish","hentry","docs-category-global-settings"],"acf":[],"_links":{"self":[{"href":"https:\/\/eventfeed.click\/wp-json\/wp\/v2\/docs\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eventfeed.click\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/eventfeed.click\/wp-json\/wp\/v2\/types\/docs"}],"version-history":[{"count":23,"href":"https:\/\/eventfeed.click\/wp-json\/wp\/v2\/docs\/136\/revisions"}],"predecessor-version":[{"id":878,"href":"https:\/\/eventfeed.click\/wp-json\/wp\/v2\/docs\/136\/revisions\/878"}],"wp:attachment":[{"href":"https:\/\/eventfeed.click\/wp-json\/wp\/v2\/media?parent=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}