IE 7 performance problems, options.precompiled alternative?

40 views
Skip to first unread message

bpeters

unread,
Jan 20, 2010, 1:09:26 PM1/20/10
to Embedded JavaScript
I have a particular template that takes a long time to compile in IE
7, but once compiled it renders data fairly quickly. In all other
browsers we've tested, compile time is quick.

I'm using the latest EJS as of today (1.0) and there isn't a whole lot
of sub-templating going on (4 or so sub-templates). Are there any
other performance pitfalls I should be aware of?

Assuming I can't get any better performance from this, I went digging
into the ejs.js source and noticed options.precompiled and was
thinking that this could be useful for my problem. I haven't noticed
any documentation on this feature and wanted to know if anyone is
using this to send precompiled ejs templates from the server, and if
so what are you using to precompile the ejs on the server side.

Justin Meyer

unread,
Jan 20, 2010, 1:21:07 PM1/20/10
to Embedded JavaScript
This is a feature of JMVC. You can switch to JMVC 2.0 or wait until
JMVC 3.0 which should have a compressor which can do this for you.
Reply all
Reply to author
Forward
0 new messages