Add on for my life

Archive for April, 2009

How To Smarty Cache

by Root on Apr.14, 2009, under Php, smarty

Ok. If you use smarty and some part of your web site are no need to uptime any time, we can use the Smarty cache.

But smarty cache is not usefull for big project. But you can use in very simple let’s start.

First Prepare script for smarty.

require ‘kernel/libs/Smarty.class.php’; // This is my smarty class.

$smarty = new Smarty; //

$smarty->caching = true;
$smarty->cache_dir
= "mycachedir/" where is cache?

(continue reading…)

2 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Archives

All entries, chronologically...