<p><em>Background</em><br>
Conducting a simple refresh (f5) on a recently downloaded <a href="https://www.openstreetmap.org/way/17236956" rel="nofollow">test map page</a> causes only half (10 out of 21) of the files to give a <code>304 Not Modified</code>. Obviously <em>Not Good</em> both for the user (slow) plus OSM (increased bandwidth + load).</p>
<p>Some of those files may well be dynamic, but some are clearly static. Because of the wide range of <em>Response Header</em> symptoms + my ignorance these are individual file-type reports to allow those with a working knowledge of the code to decipher it all.</p>
<p><em>The meat</em><br>
An HTML doc based on a map <em>way</em>.</p>
<ul>
<li><code>Last-Modified</code>: not present</li>
<li><code>eTag</code>: weak</li>
<li><code>Expires</code>: not present</li>
<li>Request: <code>If-None-Match</code> (no match, so no 304)<br>
(I've checked that the way is unchanged & yet the <code>eTag</code> changes on every refresh. BUG!!!)</li>
</ul>
<p><em>Related</em><br>
The tiles supplied by <em>toothless</em> (eg <a href="https://b.tile.openstreetmap.org/18/130245/85447.png" rel="nofollow">https://b.tile.openstreetmap.org/18/130245/85447.png</a>) are also all dynamic yet all have a strong <code>eTag</code> (matched by the <code>If-None-Match</code>) + <code>Expires</code> and thus get cached + a 304.</p>
<p><em>Extra</em><br>
See bottom of <a href="https://www.openstreetmap.org/user/alexkemp/diary/368814" rel="nofollow">this Diary page</a> for fuller details.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2261?email_source=notifications&email_token=AAK2OLNTFG5W476EEL7OYT3P22LXJA5CNFSM4HYR4YV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYKPMQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKOSTJ6VQGVTVDCDMDP22LXJANCNFSM4HYR4YVQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLI64BEMPXAUUHTOIZDP22LXJA5CNFSM4HYR4YV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYKPMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2261?email_source=notifications\u0026email_token=AAK2OLNTFG5W476EEL7OYT3P22LXJA5CNFSM4HYR4YV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYKPMQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2261?email_source=notifications\u0026email_token=AAK2OLNTFG5W476EEL7OYT3P22LXJA5CNFSM4HYR4YV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZYKPMQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>