Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<h2>Template Engine with Caching</h2> <ul> <li>To answer your question I don't know a template which support all your requirements. Hopefully somebody else can help you with that. But after a little bit of searching I found <a href="http://www.tinybutstrong.com/" rel="nofollow noreferrer">TinyButStrong</a>. On there site they mention it has a <code>cache system</code>. I can't find what kind of caching they implement(Disc/Memory/Database). It should cache in memory for truly speedups).</li> </ul> <h2>Implement Caching yourself</h2> <ul> <li>I believe that Twig is a pretty solid template enine and that you can implement caching on top of that easily.</li> <li>Just cache it in <a href="http://www.php.net/manual/en/book.apc.php" rel="nofollow noreferrer">APC</a>. When <a href="http://www.php.net/manual/en/function.apc-store.php" rel="nofollow noreferrer">storing</a> put a TTL(Time To Live) on it of. Then try to <a href="http://www.php.net/manual/en/function.apc-fetch.php" rel="nofollow noreferrer">get</a> it from cache.</li> <li>I assume you already have APC installed, if you are concerned about performance (caching). Then the first thing you should install for performance is APC(A <strong>must</strong> because it also stores compiled PHP files in memory. This means it does not have to recompile every time). If you can not install APC then maybe you could check out <a href="http://pear.php.net/manual/en/package.caching.cache-lite.intro.php" rel="nofollow noreferrer">Cache-Lite</a>. I really liked this pear package for it's simplicity/good documentation.</li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload