iRail / The-DataTank

DEPRECATED - new repo at http://github.com/tdt/core
http://thedatatank.com
26 stars 9 forks source link

Conditional GET support #53

Open coreation opened 12 years ago

coreation commented 12 years ago

Support a Conditional GET on the request side of The DataTank.

marc-portier commented 12 years ago

This should be doable by storing a generated ETag, or the last-mod-time together with the old response in the memcached.

Logic then becomes:

For more details: http://ruturajv.wordpress.com/2005/12/27/conditional-get-request/ gives a nice overview