---
title: "Speeding up file load times, one page at a time"
description: "Figma extended dynamic page loading from view-only files and prototypes to editable files, cutting load times for the slowest 5% of loads by 33% and reducing client memory."
url: "https://swe.quest/articles/speeding-up-file-load-times-one-page-at-a-time-6f46ca8213350490"
canonical: "https://www.figma.com/blog/speeding-up-file-load-times-one-page-at-a-time/"
source: "Figma"
published: "2024-05-22"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["web-performance","realtime","data-structures","system-design"]
---

# Speeding up file load times, one page at a time

A post on [Figma](https://swe.quest/sources/figma.md), published 2024-05-22, 13 min read, Case study. Original: [https://www.figma.com/blog/speeding-up-file-load-times-one-page-at-a-time/](https://www.figma.com/blog/speeding-up-file-load-times-one-page-at-a-time/)

## Summary

Figma extended dynamic page loading from view-only files and prototypes to editable files, cutting load times for the slowest 5% of loads by 33% and reducing client memory. Editing requires write dependencies as well as read dependencies. These are the inverse edges that let an edit to a component, style or variable propagate to cached derived data on instances and auto layout frames, which may sit on unloaded pages. The QueryGraph dependency framework in the multiplayer server became a bidirectional graph with explicit foreign-key edges and implicit edges such as auto layout. The server uses it to compute each session's reachable subset as collaborators edit, and a shadow-mode validator flagged edits outside the computed write set, uncovering missed cross-page dependencies before launch.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)
- [Real-time systems](https://swe.quest/tags/realtime.md) (Backend & APIs)
- [Data structures](https://swe.quest/tags/data-structures.md) (Architecture & design)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- dependency graphs
- real-time collaborative editing ([easy posts on Real-time systems](https://swe.quest/tags/realtime.md?difficulty=easy))

## Keywords

Figma, QueryGraph, dynamic loading, auto layout

## Related posts

- [Improving performance with incremental frame loading](https://swe.quest/articles/improving-performance-with-incremental-frame-loading-2561f28b61e84c3a.md): Figma · 2024-01-23 · Medium · 8 min read · Web performance, Real-time systems, Memory management, Performance engineering, System design
  Figma's prototype player used to load entire documents into memory, causing multi-minute loads and crashes on memory-constrained mobile devices.
- [Improving performance in the layers panel](https://swe.quest/articles/improving-performance-in-the-layers-panel-1cd0d897a08e1393.md): Figma · 2026-06-11 · Medium · 8 min read · Performance engineering, Frontend, Caching, Data structures
  Figma rebuilt its layers panel to fix two problems: it computed data for every expanded node, and it recomputed everything after any change.
- [Keeping it 100(x) with real-time data at scale](https://swe.quest/articles/keeping-it-100-x-with-real-time-data-at-scale-3b49e279c5a600f2.md): Figma · 2024-05-17 · Medium · 19 min read · Caching, Real-time systems, Scaling, PostgreSQL, System design
  Figma rebuilt LiveGraph, its real-time GraphQL-like subscription service over Postgres, to scale reads and database update load 100x as the database moved from one instance to vertical and horizontal shards.
- [Keeping Figma fast](https://swe.quest/articles/keeping-figma-fast-eb21da7244ac5731.md): Figma · 2023-08-29 · Medium · 14 min read · Performance engineering, Testing, CI/CD, Web performance
  Figma replaced its single-MacBook performance testing setup with two systems sharing one CI scheduler.
- [From Intern Project to Production: How I Shipped the Draw Tool for Canva's Present Mode](https://swe.quest/articles/from-intern-project-to-production-how-i-shipped-the-draw-tool-for-canva-s-bcbf001cbf7cdfac.md): Canva Engineering · 2025-08-06 · Medium · 8 min read · Frontend, Refactoring & migrations, Web performance, Product engineering
  Bringing Canva's editor draw tool into present mode required three fixes: extracting the editor-coupled draw logic into a new shared package with interfaces between shared classes and domain-specific implementations (Open/Closed Principle), normalizing stroke coordinates so drawings stay correctly positioned and scaled across Presenter View's presenter and audience windows, and lazy loading the draw tool with code splitting.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
