sebastienros/fluid

Q: caching TemplateContext with multiple context values

sommmen opened this issue · 0 comments

Hi,

I (will) have a lot of relatively small templates, e.g.:

{% for evt in evts %}
# {{ evt.title }}
{{ evt.description }}

{% endfor %}

However many different values will be supplied.
I read: https://github.com/sebastienros/fluid#caching
And i could save the TemplateContext however it would be called asynchonoulsy multiple times,

This seems like it will be an issue with a single instance of TemplateContext given different values.
Is my assumption right and do you have any performance tips regarding my use-case?