<p>I was using a Docker-based setup with an nginx reverse proxy forwarding to Dockerized Microservices for some time. Right now I am evaluating a switch to a Kubernetes-based approach and the <a href="http://traefik.io/" rel="nofollow noreferrer">Traefik</a> Ingress Controller.</p>

<p>The Ingress Controller provides all functionality required for this, except for one: <a href="https://github.com/containous/traefik/issues/878" rel="nofollow noreferrer">It doesn't support caching</a>.</p>

<p>The Microservices aren't very performant when it comes to serving static resources, and I would prefer to reduce the load so they can <em>concentrate</em> on their actual purpose, handling dynamic REST requests. </p>

<p>Is there any way to add caching support for Traefik-based Ingress? As there are many yet small services, I'd prefer not to spinup a dedicated Pod per Microservice if possible. Additionally, a configuration-based approach would be appreciated, if possible (maybe using a custom <a href="https://coreos.com/operators/" rel="nofollow noreferrer">Operator</a>?).</p>

muffel
<p>Caching functionality is still on the wish list in <a href="https://github.com/containous/traefik/issues/878" rel="noreferrer">Traefik</a> project. <br>
As a kind of workaround please check <a href="https://github.com/jonashackt/traefik-cache-nginx-spring-boot" rel="noreferrer">this</a> scenario where NGINX is put in front to do caching.<br> I don't see any contraindications to apply the same idea in front of Traefik Ingress Controller.</p>
