Souin is an HTTP caching system designed to accelerate web applications, reverse proxies and API services. It stores eligible HTTP responses so they can be reused for subsequent requests, reducing unnecessary processing and traffic to upstream servers.
The software can operate as a standalone caching reverse proxy or be integrated into compatible server applications. Its design allows developers to add caching to existing infrastructure without building a complete caching implementation themselves.
Souin follows HTTP caching semantics and provides configurable behaviour for response freshness, invalidation and content variation. It supports different storage technologies, allowing caching configurations to be adapted to the requirements of an application.
This is free and open source software.
Key Features
- HTTP response caching – stores reusable responses according to configurable cache policies.
- Standards-aware caching – implements HTTP cache directives and response freshness handling.
- Standalone reverse proxy – provides caching in front of upstream HTTP applications.
- Server integration – supports caching middleware and integrations with compatible web servers and gateways.
- Configurable storage – supports local and distributed caching backends through storage integrations.
- Cache invalidation – exposes administrative facilities for removing cached objects.
- Surrogate-key handling – associates cached responses with tags for grouped invalidation.
- Stale-response management – handles stale content according to supported cache-control directives.
- Request coalescing – reduces duplicate upstream requests for the same cacheable resource.
- Vary header support – maintains appropriate cached response variants for different request headers.
- Cache-Status headers – exposes HTTP caching information for debugging and monitoring.
- Prometheus metrics – provides operational statistics for cache activity and performance.
- Edge Side Includes – supports processing ESI content fragments.
- Configurable cache policies – controls expiration, URL exclusions and other caching behaviour.
Website: github.com/darkweak/souin
Support:
Developer: darkweak
License: MIT License
Souin is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Web Caches | |
|---|---|
| Vinyl | Web accelerator written with performance and flexibility in mind |
| HAProxy | High availability load balancer and proxy server |
| nginx | Very powerful and efficient web server and reverse proxy |
| Traffic Server | High-performance building block for cloud services |
| Memcached | Distributed memory object caching system |
| Squid | High-performance proxy caching server and web cache daemon |
| Envoy | High performance edge and service proxy |
| nuster | High-performance HTTP proxy cache server |
| Apache | Hugely popular web server with caching modules |
| Souin | HTTP cache system |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.