> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ochrebound.ibrahimsultan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Web engineering at a glance

> The measured before and after of shipping a hand-painted Unity game to desktop browsers.

Ochrebound's web edition carries about 370 MB of painted plates, sprite sheets and giant loops. The job was to make that feel instant on a good desktop, stay safe on a modest laptop, and never punish a phone with a download it cannot use. Every figure below was measured against the live site.

## Before and after

> [card] 30.8 s → 3.0 s
>
> Wait after the opening film on a cold first visit, Painterly High. [Boot](https://docs.ochrebound.ibrahimsultan.com/web/boot.md)

> [card] 44.6 MB → 22.4 MB
>
> The compiled engine, raw. About 8.0 MB on the wire with zstd from Cloudflare's edge. [Boot](https://docs.ochrebound.ibrahimsultan.com/web/boot.md)

> [card] 96.5 MB → 19.7 MB
>
> Video memory for ten painted street plates after BC7 compression was unlocked. [Textures](https://docs.ochrebound.ibrahimsultan.com/web/textures.md)

> [card] 0 stalls
>
> Loader freezes caused by changing an option, after settings were split into domains. [Settings](https://docs.ochrebound.ibrahimsultan.com/web/settings.md)

> [card] 4 tiers, 26 of 26
>
> Quality tiers chosen identically by the page and the engine across 26 machine profiles. [Textures and tiers](https://docs.ochrebound.ibrahimsultan.com/web/textures.md)

> [card] 0 MB on phones
>
> Phones and tablets are stopped on the first frame, before any engine file is requested. [Browsers](https://docs.ochrebound.ibrahimsultan.com/web/browsers.md)

## The whole path, in one picture

```mermaid actions={false} theme={"system"}
%%{init: {'themeVariables': {'fontFamily': 'IBM Plex Sans', 'fontSize': '14px'}, 'flowchart': {'wrappingWidth': 240, 'nodeSpacing': 30, 'rankSpacing': 34}}}%%
flowchart TD
  U["Unity 6.6 build: raw wasm, data, loader"] --> P["Packager: data split into 14 gzip parts, CSP hashes, headers"]
  P --> E["Cloudflare Workers static assets: zstd or brotli at the edge"]
  E --> G["Frame 0: the mobile gate decides"]
  G --> T["Title Folio and the shadow loader, on the compositor"]
  T --> W["WebGL 2 canvas: compiled while the film plays"]
```

## The principles

1. **Never make the player wait twice.** Anything that can happen during the film happens during the film.
2. **Ask the browser to do what it is best at.** Edge compression, streaming compilation, native decompression, compositor animation.
3. **One option changes one thing.** A volume slider cannot touch the graphics; a graphics change cannot touch your keys.
4. **Decide on the first frame.** The tier, the canvas size and the phone gate are all settled before the engine loads.
5. **Measure on the live site.** Every number on these pages was taken from production, not from a local build.

## Pages in this section

> [card] [Booting behind the film](https://docs.ochrebound.ibrahimsultan.com/web/boot.md)
>
> Raw wasm, gzip parts, Cache Storage, and the per-tier timings.

> [card] [Textures and tiers](https://docs.ochrebound.ibrahimsultan.com/web/textures.md)
>
> BC7 on odd-sized plates, the mip budget, and the hardware classifier.

> [card] [Settings and controls](https://docs.ochrebound.ibrahimsultan.com/web/settings.md)
>
> Seven settings domains and the two-way controls ledger.

> [card] [Browsers, phones and safety](https://docs.ochrebound.ibrahimsultan.com/web/browsers.md)
>
> The Frame-0 gate, fallbacks, and the content security policy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.