{"id":287,"date":"2015-06-27T05:38:52","date_gmt":"2015-06-27T08:38:52","guid":{"rendered":"http:\/\/www.henriquereis.com\/?p=287"},"modified":"2015-06-27T05:40:45","modified_gmt":"2015-06-27T08:40:45","slug":"laravel-bootstrapcache-carbon","status":"publish","type":"post","link":"https:\/\/henriquereis.com\/blog\/laravel-bootstrapcache-carbon\/","title":{"rendered":"Laravel: bootstrap\/cache &#8211; Carbon"},"content":{"rendered":"<p>Se voc\u00ea usa Laravel 5.1, deve ter percebido uma nova pasta em bootstrap chamada cache. N\u00e3o envie a pasta <strong>bootstrap\/cache<\/strong> pasta para produ\u00e7\u00e3o e de prefer\u00eancia para lugar algum, voc\u00ea pode ter problemas com caminhos. Ela guarda caminhos de sua pasta em desenvolvimento e em produ\u00e7\u00e3o o caminho pode ser diferente, estava enviando por descuido, at\u00e9 acontecer um erro em produ\u00e7\u00e3o ao usar internacionaliza\u00e7\u00e3o para o Carbon <strong>Carbon::setLocale($this-&gt;app-&gt;getLocale())<\/strong>; fica a dica.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Se voc\u00ea usa Laravel 5.1, deve ter percebido uma nova pasta em bootstrap chamada cache. N\u00e3o envie a pasta bootstrap\/cache pasta para produ\u00e7\u00e3o e de prefer\u00eancia para lugar algum, voc\u00ea pode ter problemas com caminhos. Ela guarda caminhos de sua pasta em desenvolvimento e em produ\u00e7\u00e3o o caminho pode ser diferente, estava enviando por descuido, &hellip; <a href=\"https:\/\/henriquereis.com\/blog\/laravel-bootstrapcache-carbon\/\" class=\"more-link\">Continue lendo <span class=\"screen-reader-text\">Laravel: bootstrap\/cache &#8211; Carbon<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts\/287"}],"collection":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":3,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/henriquereis.com\/blog\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}