http headers - Varnish cluster and Last-Modified -
in our setup have 3 varnish servers in front of cluster of backend servers. varnish load-balancing using round-robin. resently started using bundles css , js. each generated bundle gets last-modified header backend server. store bundles 24 hours.
the problem is, when varnish retrieves bundle backend server, last-modified different depending on wich backend server hit @ time. result is, approx. 50% of browser requests 200 response instead of 302 when asking conditional "if-modified-since" header.
i'm looking suggestions on how solve this. manipulating headers leaving server solution, somehow seems wrong. having 1 backend server unfortunately not option, due scalability , deployment issues.
Comments
Post a Comment