Improve jQuery template performance

后端 未结 5 1243

Update

Apparently, jQuery templates can be compiled and it helps performance for templates with if statements shown here.

But a

5条回答
  •  春和景丽
    2021-02-19 20:14

    Your template is really simple, you might want to take a look at handlebars.js which is a templating language which has the option to precompile the templates.

    It is made by rails and jquery core member Yehuda Katz.

提交回复
热议问题