[BEGINNER] Question about caching
| From: | Luc Saint-Elie | Date: | Fri, 28 Dec 2001 11:01:36 +0000 |
| Subject: | [BEGINNER] Question about caching | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2397@lists.php.net to get a copy of this message | ||
Hello,
I'm very late to the cache function because my ISP didn't provide access to mkdir().. and whaoo (thanks Santa!) he now has opened it.
So it my first glance at $smarty->caching = true.. therefore this stupid question.
If I set caching to true the first page is cached then the links (internal links) doesn't work anymore and each click reload the same page.
In case this is of any importance, my web site uses very few *.php files and a lot of URL variables
I mean I have a index.php and each page is accessed through
Index.php?op=a
Index>.php?op=b
Index.php?op=c and so on
In case this is of any importance too here is the begenning of my *.php files :
================
<?php
session_start();
/***************************************************/
/* Smarty Template //***************************************************/ require("Smarty.class.php"); $smarty = new Smarty; $smarty->compile_check = false; $smarty->debugging = false; $smarty->caching = false; => if set to true I've no more navigation ================== Thanks in advance Luc