Re: [SMARTY] Cache in mysql database. Possible?
| From: | Ajay Sharma | Date: | Thu, 09 Sep 2004 17:06:31 +0000 |
| Subject: | Re: [SMARTY] Cache in mysql database. Possible? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11793@lists.php.net to get a copy of this message | ||
What about storing the compiled templates in a database? It would be kinda neat to just empty a table when upgrading smarty instead of having to find all the 'template_c' folders and emptying them out.
I haven't given any thought to performance or anything like that. I'm just wondering if it's possible.
--Ajay
Monte Ohrt wrote:
certainly possible. http://smarty.php.net/manual/en/section.template.cache.handler.func.php Zoran Knezevic wrote:-- --------------------- Satyajot (Ajay) Sharma REVShare Corp System AdministratorHi Smarty ppl! I have problem, I should have huge number of files that are cached and I have idea to put cache in the database. Is it possible? Best regards, Zoran