<p>I believe (based on a few minutes' reading) <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11">entity tags</a> (etags) perform exactly this function, so would be worth considering as a mechanism:</p>
<p><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11">http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11</a></p>
<p>The version number of an object would be used as the etag -- either verbatim or encoded somehow -- and returned with any request Any downstream caches would be able to check the validity of their cached version by sending an if-none-match header to its upstream server. All responses in this system are cachable.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
—<br>
Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/129#issuecomment-9358476'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/J6T91GIPIyhU-8ti4GCGP98_UZTRAhtyIjAjorWDZ_moo5l7F_2ZZhmRxQnzts3n.gif' height='1' width='1'>