Simon Willison’s Weblog

Subscribe

Entries tagged backbone, javascript in 2012

Filters: Type: entry × Year: 2012 × backbone × javascript × Sorted by date


Are there any performance drawbacks when rendering DOM views at runtime with JavaScript, rather than rendering server-sent HTML?

Yes, there is quite a significant impact on first-load performance. The browser has to pull down all of the linked scripts before it can display any content—if you’re using a library like jquery that’s a sizeable chuck of code that has to be loaded and executed just on its own.

[... 152 words]

Types

Years

Months

Tags