|
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 |
vivekgpt48 Smarty n00b
Joined: 15 Mar 2016 Posts: 1
|
Posted: Tue Mar 15, 2016 7:59 am Post subject: how to disable cache for current tpl |
|
|
Hello Friends
I'm working on cs-cart E-commerce Platform. I want to disable cache for a single tpl file , any one can suggest me how to solve this issue.
i tried .
{nocache} {$smarty.now} {/nocache}
and
{$smarty.now nocache}
both were not woking for me . please suggest me a alternative. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed Mar 16, 2016 8:42 pm Post subject: |
|
|
version of smarty? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Oct 27, 2016 4:00 am Post subject: |
|
|
Caching of a sub template can only be disabled when sub template is called
Code: | {include 'foo.tpl' nocache} |
|
|
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
|