Re: [SMARTY] How complex is your caching??
| From: | Wom.bat | Date: | Tue, 26 Aug 2003 13:00:02 +0000 |
| Subject: | Re: [SMARTY] How complex is your caching?? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10124@lists.php.net to get a copy of this message | ||
On Tuesday, August 26, 2003 2:48 PM +0200, atu wrote:
> Thanks Wom.bat,
>
> I'm searching for an more efficient way than checking if the
> requested item exists.
> ex.:
> index.php?id_doc=2435
> One way is to check if an item id_doc=2435 exists. If there are more
> variables in the url you have to do a lot of checks.
>
> I'am searching for an other checking system. I mean more simple but
> efficient.
> What about to mesure the memory waste.
> Or if you know how many items you have in your db you can compare
> this value with the value of different cache items.
http://lists.php.net/article.php?group=php.smarty.general&article=10031
:)
use cache groups, that helps :)
and never trust user input ;)
hth
David