Conditional Backend Request with stale objects

Paulo Paracatu paulo at aliancaproject.com
Wed Jun 13 20:33:44 CEST 2012


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 <cdevecchi at gmail.com>

> 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
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120613/358bb37e/attachment.html>


More information about the varnish-misc mailing list