Re: [SMARTY] Re: Smarty cache.
| From: | Eskil Keskikangas | Date: | Fri, 21 May 2004 13:42:35 +0000 |
| Subject: | Re: [SMARTY] Re: Smarty cache. | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11392@lists.php.net to get a copy of this message | ||
The $page['lang'] variable is "en" or "sv" and $_SERVER['REQUEST_URI'] is just normal.
/Eskil
Ulrik Nielsen wrote:
Eskil Keskikangas wrote:$smarty->display( $page['tpl_path'].'/index.tpl', md5( $_SERVER['REQUEST_URI'].$page['lang'] ) );If this includes session id's then every new session will generate a new cache file.