There is a patch to do this: Backend Conditional Requests https://www.varnish-cache.org/trac/wiki/BackendConditionalRequests
But I don't really know the status of it. I don't see anyone talking about it here since few months ago. 2012/6/13 Claudio Devecchi <[email protected]> > Hello Everybody, > > I'm using varnish 3.0.2 and I need to do the following: > > For example: > > - I have a object with ttl 5m, after this time, when I receive a new > request, it pass to backend and backend returns a 200 code, putting the > object in cache again. > > My problem is: > > - I want to varnish to check in backend if the object was modified or not > - if modified ok, I get a 200 and everything continues > - if not modified, I want varnish to check the backend and receive a > 304, keeping the object on cache like before. > > Somebody could help me with this? > > Tks > Claudio > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
