Design item Metro App for Windows 8: Take advantage of bytecode caching



This is one of the items that is tested in your Windows 8 App when you use the WACK.

If you are in Southern California, please email these posts for more information on getting a token for your app by June 30, 2012!


Bytecode caching

This optimization is applicable only to Metro style apps built using HTML and JavaScript.
Bytecode caching is a technique in which the system creates bytecode for each JavaScript file once, rather than recreating the bytecode each time it launches the app.
To ensure that your app benefits from bytecode caching:

Ensure all JavaScript files are UTF8 encoded with a byte-order mark (BOM)
Ensure all JavaScript files are statically referenced in the root of your HTML start page

For more details about bytecode caching, refer to

Reference (HTML)

Reference (XAML)


Comments (0)

Skip to main content