Thanks, but I tried calling uncached. Both getResources and the snippet. There seems to be some problem with the snippet itself, I can't figure out why. If I just add a few snippet calls to the template:
[[!rotate]] [[!rotate]] [[!rotate]] [[!rotate]]
I get:
rotate3 rotate3 rotate3 rotate3
or on another pagerequest:
rotate-7 rotate-7 rotate-7 rotate-7
It does it's thing once per pagerequest but caches? Why? I use the "!" on each call.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Aaaaand I found a workaround!
If I add a property to the call (in the chunk or in the template), it works!
In the chunk:
[[!rotate? &genesimmons=`[[+id]]`]]
The property needs to be something non static passed from getResources though.
But in a template I have to do something like this to get different results from each call:
[[!rotate? &genesimmons=`[[*id]]`]] [[!rotate? &paulstanley=`[[*id]]`]] [[!rotate? &petercriss=`[[*id]]`]]
Why is there some additional caching going on even if I use the "!" method?