No cache for element

No cache for element

Postby fetisso on Sun Jan 27, 2008 10:16 am

Hello, i'm use this code for rotation banner :
Code: Select all
   <script type="text/javascript">
      traficmax_width = '460';
      traficmax_height = '240';
      traficmax_id = 'xxxxxx';
   </script>
   <script type="text/javascript" src="http://www.xxxxxx.com/aff_new.js"></script>


And this code it's cached. It's possible do not cache this code ?

P.S. : sorry for my bad english.
fetisso
 
Posts: 15
Joined: Thu Dec 20, 2007 3:26 am
Location: Lyon, France
LifeType Version: 1.2.8

Postby fetisso on Sun Jan 27, 2008 11:02 am

Sorry,
i've a respond.

use {dynamic]My code{/dynamic}

Thanks
fetisso
 
Posts: 15
Joined: Thu Dec 20, 2007 3:26 am
Location: Lyon, France
LifeType Version: 1.2.8

Postby jondaley on Mon Jan 28, 2008 5:44 pm

Yup, that's it. The only thing that doesn't work inside {dynamic} tags is calls to plugins. There has been some debate whether we should turn that on or not, as we currently only know of one plugin that would benefit from that, and it seems dubious as to whether we should increase the overhead for everyone else... But, for regular javascript/html/core LifeType code, {dynamic} is the way to go...
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch


Return to Templates

cron