{"id":3564,"date":"2014-03-28T11:01:14","date_gmt":"2014-03-28T11:01:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/28\/make-smarty-compile-templates-to-memcache-collection-of-common-programming-errors-2\/"},"modified":"2014-03-28T11:01:14","modified_gmt":"2014-03-28T11:01:14","slug":"make-smarty-compile-templates-to-memcache-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/28\/make-smarty-compile-templates-to-memcache-collection-of-common-programming-errors-2\/","title":{"rendered":"Make Smarty compile templates to memcache-Collection of common programming errors"},"content":{"rendered":"<p>I have a project that uses Smarty template engine (2.6). Point is I can&#8217;t have it save files locally as it would mean saving to the repository. Same with cache.<\/p>\n<p>My question is &#8211; how should I implement compiling templates to, for example, memcache?<\/p>\n<p>I was playing with stream wrapper for it but maybe someone has a better solution?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a project that uses Smarty template engine (2.6). Point is I can&#8217;t have it save files locally as it would mean saving to the repository. Same with cache. My question is &#8211; how should I implement compiling templates to, for example, memcache? I was playing with stream wrapper for it but maybe someone [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3564","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3564"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3564\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}