Re: Caching and URL query string

From: Date: Mon, 30 Jul 2001 13:04:41 +0000
Subject: Re: Caching and URL query string
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1296@lists.php.net to get a copy of this message
On Sun, 29 Jul 2001, and-is Uwe Regenbogen wrote: > As this is my first posting to the mailing list I'll first like to say hello > to everybody. > > And of course "Thank you" to Monte and Andrei for this great tool. > > Question: > -is the URL's query string part of the caching logic? > -are the HTTP_POST_VARS part of the caching logic? > > I've tried it several times but as soon as I switch caching ON all the > previous / next page links show me the results I've already seen. Switching > caching OFF will let the script work fine. No, neither URL vars nor POST vars affect the caching. If you want to have the same .tpl file be cached multiple times depending on the content, pass a unique identifier for $cache_id parameter in display() or fetch() method. -Andrei * If it ain't broken, it doesn't have enough features yet. *

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