Re: [SMARTY] Cache in mysql database. Possible?
| From: | Ajay Sharma | Date: | Thu, 09 Sep 2004 17:37:23 +0000 |
| Subject: | Re: [SMARTY] Cache in mysql database. Possible? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11796@lists.php.net to get a copy of this message | ||
boots wrote:
--- Ajay Sharma <ssharma@revsharecorp.com> wrote:We have a bunch of different clients so I have a bunch of different 'template_c' folders. Upgrading smarty means that I have to do some find/rm stuff to empty out all the compiled templates. It's no big deal, I was just curious. And you're obviously right, it would be a wicked performance hit. --Ajay --------------------- Satyajot (Ajay) Sharma REVShare Corp System AdministratorWhat 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.No, its not possible. Besides, why is emptying a table more 'neat' than emptying a directory?