Re: [SMARTY] cache and inserts

From: Date: Fri, 06 Jun 2003 12:19:20 +0000
Subject: Re: [SMARTY] cache and inserts
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9657@lists.php.net to get a copy of this message
I'm developing site that's heavily based on getting data from MySql db. That data can be changed anytime by the users, so i wanted to use cacheing for some small static parts and inserts for all content that i'm getting from db and that's almost everything. I didn't know that insert is so slow and didn't know how to do it some other way. So if i try to include that insert functions i would put cacheing to false, include that code and then again turn on cacheing or? Thx. Nino
Well, the cool thing about inserts is that if you set caching to 2, you can have the page be cached different from each insert and each inert from the other inserts. So you might look into that. Feel free to ask for an example, it's just too early for me to make one under my own motivation right now :) -- Paul Lockaby paul@paullockaby.com http://www.paullockaby.com

« previous php.smarty.general (#9657) next »