Re: [SMARTY] Storing variables in the cache
| From: | boots | Date: | Mon, 29 Aug 2005 13:13:20 +0000 |
| Subject: | Re: [SMARTY] Storing variables in the cache | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12997@lists.php.net to get a copy of this message | ||
--- Ivo Jansch <ivo@ibuildings.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Ivo Jansch wrote:
>
> > I remember vaguely that it was possible to put data (php variables)
> > in Smarty's cache along with the cached template (for example to
> > store the time at witch the data in the cache was actually
> > modified).
> >
> > I can't find it in the manual though. How can I make it work?
>
> anybody?
Hi Ivo. I'm not exactly sure what you mean by this. Perhaps you are
thinking about cache_attrs on plugins?
http://smarty.php.net/manual/en/caching.cacheable.php
Otherwise I'm not aware of any general in-built facility to
serialize/unserialize php data to and from the cache.
Greetings.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs