<p>I have a <strong><em>NodeJS</em></strong> app deployed as docker container and I am using <strong><em>Kubernetes</em></strong> for orchestration.
The <em>load balancing</em> is done by Kubernetes by default.</p>

<p>I want to implement caching for the app. </p>

<p>My Question is:
Is it possible to configure the Kubernetes load balancer Proxy to handle the caching also ?</p>

<p>PS: If not then please suggest what is the Best Practice to handle caching in Kubernetes-Docker environment.</p>

<p>Thanks</p>

<p>Proxy is not used for caching web pages, a cache server (Redis\Memcached) is used for caching web content. Proxy's job is to re-route requests and LoadBalancer has algorithms that it follows for traffic routing i.e. RoundRobin etc.</p>

<p>For this, you have to add a cache server in your application stack in the form of deployment with persistence storage (depending upon your needs).</p>
