{"id":3498,"date":"2014-03-27T04:50:46","date_gmt":"2014-03-27T04:50:46","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/27\/make-smarty-compile-templates-to-memcache-collection-of-common-programming-errors\/"},"modified":"2014-03-27T04:50:46","modified_gmt":"2014-03-27T04:50:46","slug":"make-smarty-compile-templates-to-memcache-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/27\/make-smarty-compile-templates-to-memcache-collection-of-common-programming-errors\/","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-3498","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3498","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=3498"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3498\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}