Re: [SMARTY] Caching and Sessions
| From: | Monte Ohrt | Date: | Mon, 13 Jan 2003 14:32:03 +0000 |
| Subject: | Re: [SMARTY] Caching and Sessions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7141@lists.php.net to get a copy of this message | ||
I suppose you could use the session_id as the cache_id, but why would
you want separate caches per session? That would kind of defeat the
purpose of caching I would think.
Monte
On Mon, 2003-01-13 at 08:10, Andrew S. Nagy wrote:
> Hello all,
>
> I am developing a somewhat large scale session based application with smarty
> as my "view" for a MVC style framework.
>
> Smarty is working great to handle templates; however my biggest concern now
> is caching. I have been reading the documentation on cache grouping, and my
> question is can I build cached templates based on a session id? I want each
> session to have their own cached templates, otherwise it seems that the
> cached templates would constantly be unset making the caching pointless.
>
> Has anyone faced this problem, or have any good ideas.
>
> I think this is a very major issue, if their is no solution already in
> smarty, lets discuss a way to create one!
>
>
>
> ____________________________________________
> Andrew S. Nagy
> Lead Applications Developer
> Living SchoolBook
> (315) 443-3450
> http://lsb.syr.edu
--
Monte Ohrt <monte@ispi.net>