# Ahead-of-Time Compilation

Compiling templates into JavaScript during the build rather than in the browser.

## What is **Ahead-of-Time Compilation**?

**Ahead-of-time (AOT) compilation** turns templates into fast JavaScript during the build, not in the browser. It catches template errors early and makes apps start faster.

Level: Master · [More Angular terms at this level](https://www.ask-codey.com/glossary?category=angular&level=5)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/ahead-of-time-compilation
