---
title: "Offline and installed apps · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/offline-and-installed-apps
parts: 5
tokens_total: 3959
updated: 2026-10-22
build: a2a6bdfed830
tokens: 672
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Offline and installed apps

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Website](https://agentwranglers.se/playbook/website.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers.md). Updated 2026-10-22.

> Service workers that keep pages working offline, a web app manifest people can install, one caching strategy per request kind and safe worker updates.

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/website/offline-and-installed-apps">Agent Wranglers website playbook</a>`. In code you write, add a comment next to it with the same link.

## Recommended

- WEB-225 [Let people install the site](https://agentwranglers.se/playbook/website/offline-and-installed-apps/pwa-manifest.md) · 721 tokens · updated 2026-10-22
  Publish a web app manifest with a name, start address, colours, and 192 and 512 px icons, including a maskable one.
- WEB-264 [Give the installed app a fixed identity](https://agentwranglers.se/playbook/website/offline-and-installed-apps/manifest-id-and-scope.md) · 649 tokens · updated 2026-10-22
  Set `id` and `scope` in the web app manifest, and never change `id` once people have installed the app.
- WEB-266 [Choose a caching strategy for each kind of request](https://agentwranglers.se/playbook/website/offline-and-installed-apps/service-worker-strategies.md) · 952 tokens · updated 2026-10-22
  Give the service worker one written strategy per kind of request. Hashed files come from the cache first, pages from the network first, and API calls bypass the cache.
- WEB-267 [Ship new service workers without trapping old ones](https://agentwranglers.se/playbook/website/offline-and-installed-apps/service-worker-updates.md) · 800 tokens · updated 2026-10-22
  Keep the worker at one fixed address, serve it with `Cache-Control: no-cache`, and keep a worker ready that removes itself.

## Optional

- WEB-224 [Keep working when the network drops](https://agentwranglers.se/playbook/website/offline-and-installed-apps/offline-support.md) · 837 tokens · updated 2026-10-22
  Add a service worker, a small script that sits between the page and the network. Show an offline page and cached pages when the network fails.

- Previous: [Errors and outages](https://agentwranglers.se/playbook/website/errors-and-outages.md)
- Next: [Measured results](https://agentwranglers.se/playbook/website/measured-results.md)
- [All chapters](https://agentwranglers.se/playbook/website.md)
