|
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 |
schildi Smarty Regular
Joined: 11 Mar 2005 Posts: 81
|
Posted: Wed Jun 25, 2008 9:35 am Post subject: prevent smarty from caching smarty config-files |
|
|
is it possible to prevent smarty from caching smarty-config-files? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Jun 25, 2008 3:57 pm Post subject: |
|
|
SMARTY is caching the complete rendered HTML output.
Why are your config files dynamic?
Or do you just use different config files for different cases, like different languages? If this is the case you can seperate the cached pages by using for each case a unique cache_id in your $smarty->display call.
If you have other reasons you can make sektions of your page dynamic.
See http://www.smarty.net/manual/en/caching.cacheable.php example 14-11 how to implement that. |
|
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
|