# `mix fow.export.cache`
[🔗](https://github.com/mrluc/fow/blob/main/lib/mix/tasks/fow.export.cache.ex#L1)

Export offline route snapshots without building an app.

    mix fow.export.cache --env dev --output .fow/dev/bundles/cache

Run from the Phoenix project with the public website reachable. The output contains an index and gzip payloads for an importer. Use `--debug` to retain capture HTML for troubleshooting. For generated native apps, `mix fow.bundle.prepare` adds the platform-specific startup document and assets.

## How it fits

This is a lower-level capture tool for inspecting or consuming gzip route records. Native bundle preparation calls the same `FogOfWar.Wrapper.CacheExport` module directly; running this task separately is unnecessary for a normal build.

# `run`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
