Question about selective caching.
| From: | Luc Saint-Elie | Date: | Fri, 11 Jan 2002 16:15:29 +0000 |
| Subject: | Question about selective caching. | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2519@lists.php.net to get a copy of this message | ||
Hello all,
Its still me with my infamous caching problems.....
My web site is some kind of portal-like site with a main template (*.tpl) named index.tpl that is some kind of table and that includes a lot of other templates files (*.tpl) in each of the cells.
I can't cache the main one (because it simply doesn't work for me) but that's not a real problem because the *.php produced file doesn't really change a lot so I'm not sure that speed increase will be huge.
On the other side I have some of the internal included files that I would like to cache because theses internal *.tpl files are fed by database data and these data doesn't change so often (for example one of them display a list of news title, but I had news twice a week)
So my question: I'm looking for a example (a working one preferably) of a cache for a given template that is included in a main one, because I absolutely don't understand how it is done.
Thanks in advance
Luc