Caching on @render?

6 views
Skip to first unread message

wat3r...@gmail.com

unread,
Nov 27, 2015, 11:30:20 AM11/27/15
to rythmengine
Hi,

I have a @render section that displays the value of some arguments. For example,

@args() {
   String firstName="Maria"
   String lastName="Last"
}

@render("salutation") {
     <p>Dear @firstName @LastName</p>
}

If I pass in lastName="First", then I get 'Dear Maria First'. But, if I try to update lastName='Last' (i.e. generating it the 2nd time), then I still get 'Dear Maria First'. 

Is there any caching happening by default? If I take out the whole <p>...</p> out of @render(..) { }, then I get the updated value of lastName. But, with @render, i keep getting the 'default' values or the values I passed in the first time. I tried setting the cache.enabled and cache.prod_only.enabled to false. But, that didn't change anything.

Any ideas?

Maria


green

unread,
Nov 27, 2015, 3:03:09 PM11/27/15
to rythm...@googlegroups.com
Please submit a bug ticket on github

--
You received this message because you are subscribed to the Google Groups "rythmengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rythmengine...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages