[html-formfu] select element with options attribute slowdown
fireartist at gmail.com
Thu May 10 16:37:10 GMT 2007
On 10/05/07, Tobias Kremer <list at funkreich.de> wrote:
> Would it be possible to cache the resulting form after the first
You could store the form in some sort of common memory (maybe IPC),
but you'd have to clone() the form each time you retrieved it, to
ensure it wasn't being modified.
You'd have to benchmark to see whether retrieving and cloning the form
is any quicker than creating the form from scratch each time.
As far as rendering is concerned, TT should be caching the templates itself.
More information about the HTML-FormFu