An RFC-compliant HTTP cache system that works as a plugin or standalone reverse-proxy for Apache, Nginx, Traefik, Caddy, and many Go frameworks.
Souin is an HTTP cache system designed for reverse-proxies, providing RFC-compliant caching to improve web performance and reduce backend load. It can be deployed as a plugin within existing reverse-proxies like Traefik or Caddy, or run standalone in front of servers like Apache and Nginx. The system supports advanced features like surrogate keys, GraphQL caching, and multiple storage backends for flexible infrastructure integration.
DevOps engineers, SREs, and backend developers who manage reverse-proxy infrastructure and need a scalable, standards-compliant caching solution. It's particularly useful for teams using Traefik, Caddy, Nginx, or Go-based web frameworks.
Developers choose Souin for its extensive compatibility with popular reverse-proxies and Go frameworks, RFC compliance ensuring correct caching behavior, and advanced features like distributed storage and CDN integration that rival commercial alternatives.
An HTTP cache system, RFC compliant, compatible with @tyktechnologies, @traefik, @caddyserver, @go-chi, @bnkamalesh, @beego, @devfeel, @labstack, @gofiber, @go-goyave, @go-kratos, @gin-gonic, @roadrunner-server, @zalando, @zeromicro, @nginx and @apache
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements RFC-7234 and draft standards like cache groups and invalidation, ensuring correct HTTP caching with Cache-Status headers and Vary support, as highlighted in the project description.
Works as a plugin for Traefik, Caddy, Tyk, and middleware for Go frameworks like Gin and Echo, allowing seamless integration into existing reverse-proxy or microservice setups.
Supports surrogate keys for Fastly-like invalidation, GraphQL caching, and ESI tags, providing enterprise-level cache management capabilities similar to commercial alternatives.
Integrates with multiple backends like Redis, Olric, and Etcd for in-memory or distributed caching, though since v1.7.0, storage selection requires manual build steps.
Since v1.7.0, only one storage is included by default; adding others requires manual imports from a separate repository and rebuilding, increasing deployment hassle as noted in the warning.
The YAML configuration file has numerous options and keys, such as cache_keys and timeout settings, which can be overwhelming for users without deep caching expertise.
Components like the Security API and ykeys are marked as deprecated, leading to potential breaking changes and migration challenges for existing deployments.
souin is an open-source alternative to the following products:
Fastly is a cloud computing services provider that offers content delivery network (CDN), edge computing, and security services to accelerate and protect websites, APIs, and applications.
Varnish is a web application accelerator (HTTP reverse proxy) designed for content-heavy dynamic websites, focusing on caching to improve performance.