Smarty cache.
| From: | Eskil Keskikangas | Date: | Fri, 21 May 2004 13:10:37 +0000 |
| Subject: | Smarty cache. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11390@lists.php.net to get a copy of this message | ||
We had about 200 000 cached files, it looked like every request created a new file. I dont know if it was after i did the change to the cache_key. I added the $page['lang'] variable. But after that i clear all cache file but i did not clear the compile templates. Is it possible that this was what caused the problem?
My displaytag for all pages:
$smarty->display( $page['tpl_path'].'/index.tpl', md5( $_SERVER['REQUEST_URI'].$page['lang'] ) );
BR
Eskil Keskikangas