Re: Using Cache_Lite_Function dynamically
| From: | Jörg Wegner | Date: | Fri, 14 Dec 2007 12:15:39 +0000 |
| Subject: | Re: Using Cache_Lite_Function dynamically | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28326@lists.php.net to get a copy of this message | ||
Hi Graham,
On Thursday 13 December 2007 17:39, Graham Clarke wrote:
> Hi - I need to implement data caching and would like to use
> Cache_Lite_Funciton. Does anyone know how to cache multiple instances
> of the same method call?
>
> For example:
> My application serves content based on the subdomain ... so
> siteA.somesite.com and siteB.somesite.com get different data for the
> same application.
You could try to use a different cache directory ('cacheDir') for each
subdomain.
--
Regards / Mit freundlichen Grüßen
Jörg Wegner