---
title: "Netmap caching: keeping Tailscale up on iffy connections"
description: "Tailscale clients can now cache the network map (netmap) to disk, so nodes start faster and can reach peers even when the coordination server is unreachable after a restart."
url: "https://swe.quest/articles/netmap-caching-keeping-tailscale-up-on-iffy-connections-e5d2ceccabbc06ea"
canonical: "https://tailscale.com/blog/netmap-caching"
source: "Tailscale"
published: "2026-11-17"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 11
tags: ["networking","resilience","caching","distributed-systems"]
---

# Netmap caching: keeping Tailscale up on iffy connections

A post on [Tailscale](https://swe.quest/sources/tailscale.md), published 2026-11-17, 11 min read, Deep dive. Original: [https://tailscale.com/blog/netmap-caching](https://tailscale.com/blog/netmap-caching)

## Summary

Tailscale clients can now cache the network map (netmap) to disk, so nodes start faster and can reach peers even when the coordination server is unreachable after a restart. The cache stores per-node chunks (endpoints, home DERP region, self settings), writes only changed chunks to limit latency and disk wear, and expires stale entries when a full netmap arrives. Because DISCO keys are regenerated on every start, new DISCO public keys are sent inside the DERP-relayed WireGuard tunnel to restore direct connections, and clients remember multiple DISCO keys per peer to resolve conflicts. Connectivity still degrades over time without the coordination server. The feature is opt-in via the tailnet policy file and not yet available on iOS or Android.

Written by swe.quest, not by the author.

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

## Topics

- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)

## Prerequisites

- NAT traversal basics
- WireGuard basics
- public-key cryptography ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))

## Keywords

Tailscale, netmap, DERP, DISCO, WireGuard

## Related posts

- [We’re making Tailscale faster](https://swe.quest/articles/we-re-making-tailscale-faster-039902ebbb2b850c.md): Tailscale · 2026-09-22 · Medium · 8 min read · Networking, Performance engineering, Linux
  Tailscale is speeding up its Linux and Android data plane by parsing small packets in place inside the large GRO read buffer instead of copying each into its own 64 KiB buffer, which gave roughly a 5% speed-up.
- [MagicRoute: Routing without physical routers](https://swe.quest/articles/magicroute-routing-without-physical-routers-ce976a6c4c51d5ec.md): Tailscale · 2026-10-19 · Easy · 6 min read · Networking, Load balancing, Resilience
  MagicRoute replaces Tailscale's DERP-region-based regional routing with per-client scoring of subnet routers, app connectors and Service hosts, currently using coarse geographic distance rather than latency.
- [Introducing Web Cache API support on Deno Deploy](https://swe.quest/articles/introducing-web-cache-api-support-on-deno-deploy-30aea198ea4df954.md): Deno · 2024-08-27 · Medium · 4 min read · Caching, Serverless, JavaScript, CDN & edge
  Deno Deploy now offers beta support for the web-standard Cache API, giving serverless code semi-persistent storage for Request/Response pairs via caches.open(), cache.match() and cache.put().
- [Codex Cloud shipped with Tailscale support. Nobody told us.](https://swe.quest/articles/codex-cloud-shipped-with-tailscale-support-nobody-told-us-993a029fa03cf559.md): Tailscale · 2026-10-06 · Medium · 3 min read · Networking, AI agents, Identity & auth
  OpenAI's Codex Cloud launched with Tailscale as its only VPN provider, built on public Tailscale features without any partnership.
- [How Tailscale can make secure MCP access with DCR easier](https://swe.quest/articles/how-tailscale-can-make-secure-mcp-access-with-dcr-easier-99558b0af6bc8d10.md): Tailscale · 2025-08-26 · Easy · 5 min read · Identity & auth, AI agents, Networking
  MCP's authorization spec strongly recommends OAuth Dynamic Client Registration (DCR), a decade-old spec that major IdPs like Google, GitHub and Entra ID still don't support, which is why MCP servers often force users to create OAuth clients manually.

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)
