Re: Selective cache clean

From: Date: Wed, 20 Mar 2002 14:27:44 +0000
Subject: Re: Selective cache clean
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3120@lists.php.net to get a copy of this message
On Wed, 20 Mar 2002, Ivo Jansch wrote: > Hi, > > I can clean the entire smarty cache, and I can clean by cache_id. But is > it also possible to clean by only part of the cache_id? > > I'll explain. Let's say I have a page, content.php, with two params: > ?page=main&lng=uk > > My cache_id is $QUERY_STRING, so for each page and for each language, I > get a separate cache. Now, if someone modifies the main page, I want to > throw all pages that have page=main in their cache_id away. Is that > possible? I can't generate all the cache_id's on the fly, since there > may be other parameters that are in the cache_id too. No, it is not possible currently. -Andrei The church is near but the road is icy; the bar is far away but I will walk carefully. -- Russian proverb

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