Hi,  I have been mulling over the feasibility of implementing 
conditional requests between the client browser and varnish cache. My plan is 
to add a "If modified since" header while fetching the object from the backend 
for the client's first request. Subsequently, if the client requests the same 
object, then at varnish cache, comparison would be made between the 
"If-modified-since" header and the date time of the object in the cache. 
Incase, the date time is not newer then a 304 response would be returned by the 
cache and the client's browser would pick up the request from its own cache.
My concerns:1. Do all the common browsers support reading from their own cache 
on receiving a 304 response?2. Is there a way to read the date time stamp of 
the object/ data in the cache using vcl?
Thanks in advance for any suggestion, pointers.

-Neel

 
_______________________________________________
varnish-dev mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to