jQuery performance: $(template) vs .clone()
.clone() seems to outperform $(template) for large templates..
http://stackoverflow.com/questions/12989392/jquery-template-vs-clone
Written by Lars Jung
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jquery
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#