Hi All,
I noticed that deform form rendering is somewhat slow in my
application and found the @cache decorator in deform.template. I'd
like my templates to be cached, but since I use i18n, thus passing
translators to initialize a template loader on a per request basis,
this does not work. Now I only have a limited number of locales to
support, so I was thinking about initializing template loaders for
these locales at application start. But in this case, the cache
decorator would have to take the translate attribute into account as
well and not only the template filename.
Did anyone find a solution to this problem?
regards,
robert

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to