For a self-hosted CDN for caching assets, the strongest matches are apache/trafficserver (Apache TrafficServer is a high-performance caching proxy server that), varnishcache/varnish-cache (Varnish Cache is a self-hostable, high-performance HTTP accelerator and) and squid-cache/squid (Squid is a self-hostable web proxy cache that can). varnish/varnish-cache and http-party/http-server round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Open-source software for deploying distributed edge networks to accelerate static asset delivery and reduce latency.
Apache Traffic Server™ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
Apache TrafficServer is a high-performance caching proxy server that can be deployed as a self-hosted CDN to cache and serve static assets from edge nodes, supporting configurable cache rules, origin pull, and scalability for multi-region setups.
Varnish Cache is an HTTP reverse proxy cache, traffic manager, and edge content delivery tool. It functions as an HTTP accelerator that stores responses in memory to reduce backend load and improve delivery speed. The system also serves as a TLS termination proxy and a configuration engine using a compiled language to define request handling and caching logic. The project is distinguished by its compiled configuration language, which transforms specialized domain logic into machine code to execute request processing at line rate. It provides high-performance memory-centric storage and special
Varnish Cache is a self-hostable, high-performance HTTP accelerator and reverse-proxy that caches and serves static assets from origin servers with configurable rules, making it a strong foundation for a private CDN, though multi-region deployments require manual setup.
Squid Web Proxy Cache - Source Code
Squid is a self-hostable web proxy cache that can cache and serve static assets with configurable rules and origin pull, fitting your need for a private edge cache, though it does not include built-in multi-region distribution.
Varnish Cache is an HTTP reverse proxy and content accelerator designed to sit in front of web servers. It functions as a caching engine that stores frequently accessed web content in memory to reduce the processing load on backend origin servers and accelerate delivery times for end users. The software distinguishes itself through a domain-specific configuration language that compiles request-handling logic into machine-level bytecode for execution at wire speed. It utilizes a multi-threaded event loop to manage concurrent connections and employs shared-memory object storage alongside virtua
Varnish Cache is a self-hosted HTTP accelerator and reverse proxy that caches and serves static assets from the edge with configurable rules, origin pull, and multiple storage backends — it fits the core need for a private CDN cache, though multi-region distribution would require manual setup across instances.
This project is a lightweight Node.js web server and command-line tool designed for hosting static assets and delivering local files over HTTP. It functions as a static site host that provides a minimal environment for serving HTML, CSS, and JavaScript files to web browsers. The server includes built-in support for TLS encryption to enable secure HTTPS access and allows for the configuration of cross-origin resource sharing headers. It also features basic authentication to restrict folder access via username and password verification. The system manages content delivery through browser cache
This is a simple static file server for local development, not a self-hosted CDN with edge caching, origin pull, or geographic distribution.
Up is a deployment tool that transforms any HTTP server into an AWS Lambda function behind API Gateway with a single command, eliminating server management entirely. It provides a unified platform for building and deploying serverless APIs that scale automatically and charge only for actual usage, while supporting Node.js, Go, Python, Java, Crystal, and Clojure runtimes without per-language configuration. The tool automates the generation and management of all required AWS resources—including Lambda, API Gateway, CloudFront, and S3—from a declarative configuration, and can replicate the entir
Up is a deployment tool that turns servers into AWS serverless functions, using CloudFront for CDN delivery, but it is not a self-hosted edge cache—it relies on AWS-managed infrastructure rather than providing a privately deployable caching solution.
JuiceFS is a distributed file system designed to mount object storage as a local, POSIX-compliant drive. It functions as a cloud-native persistent storage layer that decouples file metadata from raw data, storing metadata in a transactional database while keeping data blocks in object storage. This architecture enables multiple hosts across different regions to access the same storage simultaneously while maintaining strong consistency. The system distinguishes itself by performing data processing, including compression and encryption, directly on the client side before transmission. By split
JuiceFS is a distributed file system that layers POSIX-compliant access on top of object storage, so while it provides storage backend support and multi-region access, it is not an edge caching/reverse-proxy server that serves static assets with configurable cache rules, missing the core CDN functionality you need.
Xget is an edge-based network proxy and request router designed to optimize connectivity and reduce latency for remote resources. It functions as a high-performance interface for AI inference API requests, container registry mirroring, and the acceleration of Git repository operations and software package mirrors. The system distinguishes itself through protocol-aware proxying that preserves authentication and headers for Git and container registries. It utilizes rule-based URL transformation to map requests to accelerated upstream provider endpoints and employs a response rewriting mechanism
Xget is an edge-based network proxy optimised for AI inference, container registries and Git operations rather than a general-purpose CDN for static assets, so it lacks the core focus on serving and caching static files from edge nodes with configurable cache rules and origin pull.
Flysystem is a PHP storage library that provides a filesystem abstraction layer. It enables the management of files across local disks, cloud buckets, and remote servers using a unified interface, decoupling application logic from provider-specific APIs. The project facilitates storage provider migration by allowing developers to swap underlying adapters without changing application code. It includes a multi-backend manager capable of mounting volumes and coordinating file movements between diverse storage systems. The library covers a broad range of file operations, including directory list
Flysystem is a PHP filesystem abstraction library for managing storage backends, not a self-hosted CDN or edge cache—it lacks any serving, caching, or reverse-proxy capabilities, so it does not match the core requirement of caching and serving static assets from edge nodes.
opennextjs-aws is a serverless infrastructure adapter and deployment tool that transforms Next.js build artifacts into compatible packages for hosting on AWS Lambda and S3. It functions as a deployment adapter that maps framework-specific outputs to serverless functions and object storage. The project distinguishes itself by implementing serverless-specific optimizations, including a cache manager that synchronizes incremental static regeneration and fetch caches via S3 or DynamoDB. It features a cold start optimizer that uses bundle minification and scheduled function warming to reduce laten
This is a serverless deployment adapter for Next.js on AWS, not a self-hosted edge cache or private CDN; it leverages AWS managed services rather than providing a standalone caching and serving solution.
BunkerWeb is a containerized suite of infrastructure tools that functions as a cloud-native web application firewall and Nginx reverse proxy. It provides a security layer for web applications, combining traffic routing with automated SSL certificate management and a web-based security dashboard for monitoring and configuration. The project distinguishes itself through its deep integration with container orchestrators, serving as a Kubernetes ingress controller that automates security settings and service discovery via container labels. It features a plugin-based extension model and a manageme
BunkerWeb is a security-focused web application firewall and reverse proxy with caching features, but its core purpose is protecting web apps rather than serving as a dedicated edge cache or CDN for static assets — it lacks the multi-region distribution and origin-pull focus that this search requires.
Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and Cloudflare Workers. It provides a unified system for building APIs and web servers using a sequential chain of middleware functions and a hierarchical routing engine that maps URL paths to handlers via a nested tree structure. The framework includes a runtime-agnostic serverless adapter that translates diverse cloud provider events into a standard request and response interface. It also features a dedicated WebSocket server implementation for bidirectional real-time communication
Oak is a cross-runtime HTTP middleware framework and web server, not a self-hosted edge cache or CDN; while it can serve static assets and deploy to edge runtimes, it does not provide built-in caching, configurable cache rules, origin pull, or multi-region distribution needed for a private CDN solution.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| apache/trafficserver | 2K | C++ | Apache-2.0 | |
| varnishcache/varnish-cache | 4.1K | C | NOASSERTION | |
| squid-cache/squid | 3K | C++ | GPL-2.0 | |
| varnish/varnish-cache | 887 | C | — | |
| http-party/http-server | 14.2K | JavaScript | MIT | |
| apex/up | 8.8K | Go | MIT | |
| juicedata/juicefs | 13.2K | Go | apache-2.0 | |
| xixu-me/xget | 8.2K | JavaScript | AGPL-3.0 | |
| thephpleague/flysystem | 13.6K | PHP | MIT | |
| opennextjs/opennextjs-aws | 5K | TypeScript | MIT |