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