Index: trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java	(revision 19692)
+++ trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java	(revision 19693)
@@ -352,10 +352,11 @@
             final HttpClient request = getRequest("GET");
 
-            if (isObjectLoadable() &&
+            // If-Modified-Since only without an ETag: servers which evaluate both (e.g. Apache serving tiles without a
+            // Last-Modified) answer 200 to our download time even when the ETag matches, see RFC 9110 section 13.1.3
+            if (isObjectLoadable() && attributes.getEtag() != null) {
+                request.setHeader("If-None-Match", attributes.getEtag());
+            } else if (isObjectLoadable() &&
                     (now - attributes.getLastModification()) <= ABSOLUTE_EXPIRE_TIME_LIMIT) {
                 request.setIfModifiedSince(attributes.getLastModification());
-            }
-            if (isObjectLoadable() && attributes.getEtag() != null) {
-                request.setHeader("If-None-Match", attributes.getEtag());
             }
 
