Back to services

Lancache

LAN Party game caching made easy.

View alternatives to Lancache
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

LanCache.NET (Lancache) is an open-source project from the UKLans community, with the tagline "LAN Party game caching made easy." The idea is simple: games and updates are downloaded from the internet only once, then distributed by a local cache server to other users on the LAN. This makes full use of local network bandwidth, so players spend less time waiting for downloads and more time playing.

Main Components

Lancache is delivered as several Docker containers:

  • Monolithic: An "all-in-one" caching solution and the core container for caching game content at LAN parties.
  • Lancache-DNS: Required by most deployments. It points DNS requests for game content delivery domains to the cache server.
  • Sniproxy: A companion proxy container.
  • Generic: A generic caching container.

The official documentation includes a System Overview that explains how the components work together, and it also covers some advanced topics.

Target Users and Use Cases

  • Organizers of LAN parties and esports events who need many players to download or update the same games in a short time
  • Internet cafes, school computer labs, offices and other environments where many computers share a single internet connection
  • Gamers with multiple gaming devices at home who don't want to download the same game repeatedly

Key Advantages

  • Bandwidth savings: The same content is downloaded from the internet only once, and later requests are served locally
  • Faster speeds: LAN transfer speeds are usually far higher than internet speeds, so large games and updates are ready sooner
  • Easy deployment: Based on Docker Compose, it can be up and running with just a few commands
  • Free and open source: Licensed under MIT, with code hosted on GitHub (lancachenet)

Quick Deployment

The official quick-start steps:

git clone https://github.com/lancachenet/docker-compose lancache
cd lancache
nano .env        # 编辑配置
sudo docker compose up -d

Then set the DNS on your router to use only lancache-dns, and clients' game download requests will be directed to the cache server.

Technical Requirements

  • A host that can run Docker and Docker Compose (the official example uses a Linux command-line environment)
  • Permission to change the network's DNS settings, for example through the router or DHCP
  • Enough disk space to store the cached game content

Notable Features

  • DNS configuration is the key step: the official documentation explicitly requires the router to hand out only lancache-dns, otherwise requests may bypass the cache
  • Each container has images available on Docker Hub, and the official homepage shows build status and pull counts
  • The project is maintained by the UKLans community