Search

6/05/2006

今日閱讀2006-06-05

Levels of JavaScript Knowledge

Serving JavaScript Fast
via
He talks about several different approaches, including:

* Monolith - the bigger the chunks the better, less overhead of loading more than one file for each page execution
* Splintered Approach - divide it up into multiple subfiles and only load what you need
* Compression - gzipping up the content to reduce its filesize as sent to the browser
* Caching- sending headers to correctly cache the javascript file(s)

沒有留言: