Re: Solution for Caching and URL query string
| From: | Hans-Peter Oeri | Date: | Sun, 29 Jul 2001 17:02:36 +0000 |
| Subject: | Re: Solution for Caching and URL query string | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1293@lists.php.net to get a copy of this message | ||
Hi!
Quoting and-is Uwe Regenbogen <uwe@and-is.de>:
> I'm using the cache_id which is an optional second parameter for this
> function. I'm simply creating a SCRIPT_URI plus QUERY_STRING plus
> HTTP_POST_VARS plus browser-name plus language (which defaults to the
> user's accepted language).
That's what I meant by "cache_id". Of course, you can create whatever ID you
want and therefore depend on whatever environment status you like. But keep in
mind, that - by definition - the result of a POST operation must be repeatedly
computed (as it is supposed to be a transaction that is repeated). Simply
caching the result and outputting that again is not enough.
Don't conform!
IkKampfCaspar75