Website Content Optimization
Faster script loading with BinaryAST?

Faster script loading with BinaryAST?

5/17/2019 · Ingvar Stepanyan

What this post added

This post introduces the concept of BinaryAST, a proposed over-the-wire format for JavaScript that aims to significantly speed up parsing and reduce cold start times for web applications. It details the challenges of JavaScript parsing, such as hoisting and lazy parsing, and explains how BinaryAST addresses these by providing a binary representation of the Abstract Syntax Tree (AST) with pre-analyzed scope information. The post also highlights Cloudflare's role in enabling the use of BinaryAST encoders with Cloudflare Workers to gather real-world data on its impact.

Read the original post ↗