|
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 |
Troublegum Smarty Rookie
Joined: 07 Sep 2003 Posts: 33 Location: Germany
|
Posted: Sat Nov 08, 2003 3:57 pm Post subject: clearing cache |
|
|
Sometimes, I want to clear the cache of a specific template.
$tpl->clear_cache('showresults');
But that does NOT delete all cached versions (I use various cache_ids) of the template 'showresults'.
If I use $tpl->clear_cache(null, 'de'); all cached templates with the cachegroup 'de' will be deleted. But that is not what I want.
I want to delete only the cached files of the template 'showresults'.
How do I do that?
And this does not work either.
$tpl->clear_cache('showresults', null, null, 123);
I tried to delete all cached files of 'showresults' with ANY cacheid and any compileid that are older than 123 seconds. Is that possible? |
|
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
|