Skip to content
Cloudflare

Faster script loading with BinaryAST?

May 17, 2019Ingvar Stepanyan19 min read
Opens blog.cloudflare.com
What the post coversAI, from the source post

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 full post on blog.cloudflare.com · 19 min (opens in a new tab)

More from the Website Content Optimization trail