RE: caching / insert question
| From: | Steve | Date: | Sat, 16 Feb 2002 03:28:29 +0000 |
| Subject: | RE: caching / insert question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2691@lists.php.net to get a copy of this message | ||
>I installed the 02152002 snapshot today - no problems that I can tell.
>
>I then turned on caching and it works!
>
>I soon realized I was caching all my dynamic content.
>
>I use url's like:
>http://192.168.10.70/index.php?page=info&id=628
>
>The page variable is used to determine what .php and .tpl files are used
for
>the center of the page and the id is used by info.php to look up a database
>record.
>
>With caching on, the URL string is now ignored after index.php.
Are you using $cache_id parameter to display() function?
-Andrei
Ut Oh! Not sure how I'm supposed to use the $cache_id in the display()
call?