Turbopack Persistent Caching

Bookmark
Rate this content
Tobias Koppers
Tobias Koppers
29 min
12 Jun, 2025

Comments

Sign in or register to post your comment.
Video Summary and Transcription
Tobias Koppers del equipo de Vercel TurboPack discute la implementación de caching persistente para el desarrollo a largo plazo de aplicaciones web, previendo un crecimiento significativo en el tamaño de las aplicaciones durante la próxima década. El papel de la IA en la escritura de código, la visión de TurboPack para construcciones instantáneas, los desafíos en el control de construcciones y el cambio hacia un rendimiento incremental con caching para construcciones más rápidas. TurboPack enfatiza hacer que las construcciones incrementales sean rápidas y que cada construcción sea incremental, enfocándose en construcciones incrementales confiables y granulares, manejo eficiente de cache granular en TurboEngine e invalidación automática de cache granular. El sistema optimiza el rendimiento a través de la integración eficiente de cache persistente, la persistencia del estado del gráfico, la optimización de bases de datos, la creación de capas persistentes personalizadas y la optimización de la eficiencia del tiempo de construcción. TurboPack se destaca con su enfoque único de caching de abajo hacia arriba, expansión a un empaquetador de propósito general y planes para mejorar la compatibilidad del framework. Además, la comparación con ESBuild destaca el énfasis en construcciones incrementales y la granularidad detallada del cache con un enfoque basado en tokens, casi similar a la IA.
Available in English: Turbopack Persistent Caching
Video transcription and chapters available for users with access.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

El Núcleo de Turbopack Explicado (Codificación en Vivo)
JSNation 2023JSNation 2023
29 min
El Núcleo de Turbopack Explicado (Codificación en Vivo)
Tobias Koppers introduces TurboPack and TurboEngine, addressing the limitations of Webpack. He demonstrates live coding to showcase the optimization of cache validation and build efficiency. The talk covers adding logging and memorization, optimizing execution and tracking dependencies, implementing invalidation and watcher, and storing and deleting invalidators. It also discusses incremental compilation, integration with other monorepo tools, error display, and the possibility of a plugin system for Toolpag. Lastly, the comparison with Bunn's Builder is mentioned.
Rome, ¡una cadena de herramientas moderna!
JSNation 2023JSNation 2023
31 min
Rome, ¡una cadena de herramientas moderna!
Top Content
Rome is a toolchain built in Rust that aims to replace multiple tools and provide high-quality diagnostics for code maintenance. It simplifies tool interactions by performing all operations once, generating a shared structure for all tools. Rome offers a customizable format experience with a stable formatter and a linter with over 150 rules. It integrates with VCS and VLSP, supports error-resilient parsing, and has exciting plans for the future, including the ability to create JavaScript plugins. Rome aims to be a top-notch toolchain and welcomes community input to improve its work.
Componentes de Servidor con Bun
Node Congress 2023Node Congress 2023
7 min
Componentes de Servidor con Bun
Top Content
Bun is a modern JavaScript runtime environment that combines a bundler, transpiler, package manager, and runtime. It offers faster installation of NPM packages and execution of package.json scripts. Bun introduces a new JavaScript and TypeScript bundler with built-in support for server components, enabling easy RPC with the client. This allows for code splitting and running code that streamingly renders React or any other library from the server and mixes it with client code, resulting in less JavaScript sent to the client.
Desafíos para las Optimizaciones de Producción Incrementales
JSNation 2024JSNation 2024
32 min
Desafíos para las Optimizaciones de Producción Incrementales
TurboPack is a new bundle similar to Webpack, focusing on incremental builds to make them as fast as possible. Challenges in production builds include persistent caching, incremental algorithms, and optimizing export usage. The compilation process can be split into parsing and transforming modules, and chunking the module graph. TurboPack aims to achieve faster production builds through incremental optimization and efficiency. Collaboration and compatibility with other ecosystems are being considered, along with the design of a plugin interface and tree-shaking optimization.
Parcel 2: el Empaquetador Automágico
DevOps.js Conf 2021DevOps.js Conf 2021
8 min
Parcel 2: el Empaquetador Automágico
Parcel 2 is a ground-up rewrite of Parcel 1, a fast and scalable zero-configuration web application bundler used by large companies like Atlassian and Adobe. It offers a zero-config approach with good defaults, making it production-ready out of the box. The new features include a revamped plugin system, a configuration file, transformers for file conversion, optimizers for code compression, target support for different browsers, diagnostics for error debugging, and named pipelines for data and JavaScript in different formats. Parcel 2 also supports different import scenarios, such as importing JSON files with named pipelines and using query parameters for image optimization. It includes various performance improvements, stable caches, optimized data structures, enhanced code splitting and bundling, improved scope hosting, and better support for monorepos and libraries. A React example is provided to showcase the simplicity of Parcel and how to use it with React.
Dominando tu paso de construcción - Dominando tu código
DevOps.js Conf 2021DevOps.js Conf 2021
28 min
Dominando tu paso de construcción - Dominando tu código
This Talk explores JavaScript code optimization using Rollup, showcasing examples of improved load times and reduced server size. It delves into Rollup customization and plugin development, demonstrating how to write plugins and remove code using hooks. The Talk also covers module code loading, advanced code control, and importing/emitting files with Rollup. Additionally, it highlights the adoption of Rollup's plugin system by other tools and introduces a self-made terminal used in the presentation.