Re: Caching question
| From: | Andrei Zmievski | Date: | Fri, 21 Dec 2001 14:19:26 +0000 |
| Subject: | Re: Caching question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2360@lists.php.net to get a copy of this message | ||
On Thu, 20 Dec 2001, Brian E. Lozier wrote:
> Thanks for all the help so far. However, it doesn't seem to be working. It's
> generating a different cache
> (I think, because my timer script is different depending on what you pass in the URL
> "generated this page in
> 0.15427 seconds"), but it's caching the exact same content (with the exception of the
> timer!?). I've got:
>
> $tpl->display("main.tpl", $REQUEST_URI);
Make sure you declare $REQUEST_URI as global if you are calling
display() from inside a function.
-Andrei
* My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/
*