{"id":277,"date":"2008-10-23T14:43:45","date_gmt":"2008-10-23T18:43:45","guid":{"rendered":"http:\/\/www.eyoungwon.com\/journal\/?p=277"},"modified":"2008-10-23T14:43:45","modified_gmt":"2008-10-23T18:43:45","slug":"silverstripe-flush-or-edit","status":"publish","type":"post","link":"https:\/\/eyoungwon.com\/journal\/silverstripe-flush-or-edit\/","title":{"rendered":"SilverStripe &#8211; Flush or Edit"},"content":{"rendered":"<p><strong>Flushing the cache<\/strong><\/p>\n<p>Whenever we edit a template file, we need to append <em>?flush=1<\/em> onto the end of the <acronym title=\"Uniform Resource Locator\">URL<\/acronym>, e.g. <a rel=\"nofollow\" href=\"http:\/\/localhost:3000\/home\/?flush=1\">http:\/\/localhost:3000\/home\/?flush=1<\/a>. SilverStripe stores template files in a cache for quicker load times. Whenever there are changes to the template, we must flush the cache in order for the changes to take effect. &lt;\/note&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flushing the cache Whenever we edit a template file, we need to append ?flush=1 onto the end of the URL, e.g. http:\/\/localhost:3000\/home\/?flush=1. SilverStripe stores template files in a cache for quicker load times. Whenever there are changes to the template, we must flush the cache in order for the changes to take effect. &lt;\/note&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-web-development"],"_links":{"self":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/comments?post=277"}],"version-history":[{"count":1,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/277\/revisions\/278"}],"wp:attachment":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/media?parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/categories?post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/tags?post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}