flâneur — a map of the web's best reading

Code caching for JavaScript developers · V8

v8.dev · 2,964 words · saved by 1 readers

(Byte)code caching reduces the start-up time of commonly visited websites by caching the result of JavaScript parsing + compilation.

Code caching (also known as bytecode caching ) is an important optimization in browsers. It reduces the start-up time of commonly visited websites by caching the result of parsing + compilation. Most popular browsers implement some form of code caching, and Chrome is no exception. Indeed, we’ve written and talked about how Chrome and V8 cache compiled code in the past. In this blog post, we offer a few pieces of advice for JS developers who want to make the best use of code caching to improve the startup of their websites. This advice focuses on the implementation of caching in Chrome/V8, but

Explore this link on the map →

related reading