|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
IceFrog Smarty Rookie
Joined: 16 Dec 2008 Posts: 13
|
Posted: Mon Sep 20, 2010 3:26 pm Post subject: Rewrite mod | Smarty Cache |
|
|
Hi guys, I have a question.
My site works with rewrite mod and I would like to use smarty cache.
Links site look so site.ru/document/1 (dynamic), but when I activate the cache, information on all the pages are all equal. (Forgot to add that they have a common template output) Can I fix it and use normal cache _________________ Hello all coders from Russia |
|
Back to top |
|
IceFrog Smarty Rookie
Joined: 16 Dec 2008 Posts: 13
|
Posted: Mon Sep 20, 2010 4:01 pm Post subject: Re: Rewrite mod | Smarty Cache |
|
|
IceFrog wrote: | Hi guys, I have a question.
My site works with rewrite mod and I would like to use smarty cache.
Links site look so site.ru/document/1 (dynamic), but when I activate the cache, information on all the pages are all equal. (Forgot to add that they have a common template output) Can I fix it and use normal cache |
oh i'm sorry, i'am not try
Code: | $smarty->caching = true;
$my_cache_id = $_GET['article_id'];
$smarty->display('index.tpl',$my_cache_id); |
_________________ Hello all coders from Russia |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|