title: Do browsers compile and cache javascript?
body: <p>I’ve noticed that after making a change to a javascript file, clearing the cache, and reloading; one function in particular runs in about 90ms, the next time I load the page, it runs in 40ms, the next time I run it, it runs in 20ms … then never gets faster.</p>
  
  <p>It kind of looks like IE is compiling my javascript and caching that compiled version somewhere, similar to how SQLServer processes queries.</p>
  
  <p>Is that what is happening?</p>
  
  <p>Does anybody know where I can find a clarification of how browsers process javascript?</p>