Index: trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java	(revision 19701)
@@ -189,4 +189,7 @@
     @Override
     public void mouseMoved(MouseEvent e) {
+        if (isPanning()) {
+            return;
+        }
         oldEvent = e;
         giveUserFeedback(e);
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java	(revision 19701)
@@ -802,5 +802,5 @@
     @Override
     public void mouseMoved(MouseEvent e) {
-        if (!MainApplication.getMap().mapView.isActiveLayerDrawable())
+        if (isPanning() || !MainApplication.getMap().mapView.isActiveLayerDrawable())
             return;
 
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java	(revision 19701)
@@ -264,3 +264,12 @@
         return l instanceof OsmDataLayer && !((OsmDataLayer) l).isLocked();
     }
+
+    /**
+     * Determines if the user is currently panning the map.
+     * @return {@code true} if a pan is in progress
+     * @since 19701
+     */
+    protected static boolean isPanning() {
+        return MainApplication.isDisplayingMapView() && MainApplication.getMap().mapView.isPanning();
+    }
 }
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 19701)
@@ -272,4 +272,7 @@
      */
     private boolean giveUserFeedback(MouseEvent e, int modifiers) {
+        if (isPanning()) {
+            return false;
+        }
         Optional<OsmPrimitive> c = Optional.ofNullable(
                 mv.getNearestNodeOrWay(e.getPoint(), mv.isSelectablePredicate, true));
Index: trunk/src/org/openstreetmap/josm/gui/MapMover.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MapMover.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/gui/MapMover.java	(revision 19701)
@@ -22,5 +22,4 @@
 import org.openstreetmap.josm.data.preferences.BooleanProperty;
 import org.openstreetmap.josm.gui.MapViewState.MapViewPoint;
-import org.openstreetmap.josm.gui.layer.Layer;
 import org.openstreetmap.josm.spi.preferences.Config;
 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;
@@ -251,5 +250,6 @@
         nc.resetCursor(this);
         mousePosMoveStart = null;
-        MainApplication.getLayerManager().getLayers().forEach(Layer::invalidate);
+        // Repaint only. Labels refresh on the next still frame
+        nc.repaint();
     }
 
Index: trunk/src/org/openstreetmap/josm/gui/MapView.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 19701)
@@ -54,8 +54,10 @@
 import org.openstreetmap.josm.data.osm.visitor.paint.Rendering;
 import org.openstreetmap.josm.data.osm.visitor.paint.relations.MultipolygonCache;
+import org.openstreetmap.josm.data.projection.Projection;
 import org.openstreetmap.josm.data.projection.ProjectionRegistry;
 import org.openstreetmap.josm.gui.MapViewState.MapViewRectangle;
 import org.openstreetmap.josm.gui.autofilter.AutoFilterManager;
 import org.openstreetmap.josm.gui.datatransfer.OsmTransferHandler;
+import org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer;
 import org.openstreetmap.josm.gui.layer.Layer;
 import org.openstreetmap.josm.gui.layer.LayerManager;
@@ -237,7 +239,11 @@
     private transient BufferedImage nonChangedLayersBuffer;
     private transient BufferedImage offscreenBuffer;
-    // Layers that wasn't changed since last paint
-    private final transient List<Layer> nonChangedLayers = new ArrayList<>();
     private int lastViewID;
+    private double lastPaintedScale;
+    private EastNorth lastPaintedCenter;
+    private Projection lastPaintedProjection;
+    private List<Layer> lastPaintedLayers;
+    // Composite baked without labels during a pan.
+    private transient boolean panLabelsHidden;
     private final AtomicBoolean paintPreferencesChanged = new AtomicBoolean(true);
     private Rectangle lastClipBounds = new Rectangle();
@@ -490,4 +496,13 @@
             BugReport.intercept(t).put("layer", layer).warn();
         }
+    }
+
+    /**
+     * Determines if a pan is in progress.
+     * @return {@code true} if a pan is in progress
+     * @since 19701
+     */
+    public boolean isPanning() {
+        return mapMover != null && mapMover.movementInProgress();
     }
 
@@ -552,60 +567,119 @@
         }
 
-        boolean canUseBuffer = !paintPreferencesChanged.getAndSet(false)
-                && nonChangedLayers.size() <= nonChangedLayersCount
-                && lastViewID == getViewID()
-                && lastClipBounds.contains(g.getClipBounds())
-                && nonChangedLayers.equals(visibleLayers.subList(0, nonChangedLayers.size()));
-
+        boolean paintPrefsChanged = paintPreferencesChanged.getAndSet(false);
+        boolean sameLayerSet = lastPaintedLayers != null && lastPaintedLayers.equals(visibleLayers);
+        int viewID = getViewID();
+        boolean viewMoved = lastViewID != viewID;
+        boolean panning = isPanning();
+        boolean hideLabels = OsmDataLayer.PROPERTY_HIDE_LABELS_WHILE_DRAGGING.get();
+        EastNorth center = getCenter();
+        double scale = getScale();
+        Rectangle clip = g.getClipBounds();
+        boolean fullClip = clip.contains(0, 0, getWidth(), getHeight());
+        // Partial clips must not rebuild the buffer or clear the label flag
+        boolean needLabelRefresh = panLabelsHidden && !viewMoved && fullClip && !panning;
+        if (needLabelRefresh) {
+            panLabelsHidden = false;
+        }
+        boolean canUseBuffer = !paintPrefsChanged
+                && !needLabelRefresh
+                && !viewMoved
+                && sameLayerSet
+                && nonChangedLayersCount == visibleLayers.size()
+                && lastClipBounds.contains(clip);
+
+        boolean canReusePan = !paintPrefsChanged
+                && viewMoved
+                && sameLayerSet
+                && Utils.equalsEpsilon(scale, lastPaintedScale)
+                && lastPaintedProjection == getProjection()
+                && lastClipBounds.contains(0, 0, getWidth(), getHeight())
+                && hideLabels
+                && nonChangedLayersBuffer != null
+                && nonChangedLayersBuffer.getWidth() == width && nonChangedLayersBuffer.getHeight() == height;
+        int blitDX = 0;
+        int blitDY = 0;
+        if (canReusePan) {
+            blitDX = (int) Math.round((lastPaintedCenter.east() - center.east()) / lastPaintedScale * uiScaleX);
+            blitDY = (int) Math.round((center.north() - lastPaintedCenter.north()) / lastPaintedScale * uiScaleY);
+            // Zero or off-screen blits must fall back to full paint
+            canReusePan = (blitDX != 0 || blitDY != 0) && Math.abs(blitDX) < width && Math.abs(blitDY) < height;
+        }
+        if (hideLabels && (canReusePan || panning)) {
+            panLabelsHidden = true;
+        }
         if (null == offscreenBuffer || offscreenBuffer.getWidth() != width || offscreenBuffer.getHeight() != height) {
             offscreenBuffer = getAcceleratedImage(this, width, height);
         }
 
-        if (!canUseBuffer || nonChangedLayersBuffer == null) {
+        if (!canReusePan && (!canUseBuffer || nonChangedLayersBuffer == null)) {
             if (null == nonChangedLayersBuffer
                     || nonChangedLayersBuffer.getWidth() != width || nonChangedLayersBuffer.getHeight() != height) {
                 nonChangedLayersBuffer = getAcceleratedImage(this, width, height);
             }
-            Graphics2D g2 = nonChangedLayersBuffer.createGraphics();
-            g2.setClip(scaledClip);
-            g2.setTransform(trDef);
-            g2.setColor(PaintColors.getBackgroundColor());
-            g2.fillRect(0, 0, width, height);
-
-            for (int i = 0; i < nonChangedLayersCount; i++) {
-                paintLayer(visibleLayers.get(i), g2);
-            }
-        } else {
-            // Maybe there were more unchanged layers then last time - draw them to buffer
-            if (nonChangedLayers.size() != nonChangedLayersCount) {
+            if (fullClip) {
                 Graphics2D g2 = nonChangedLayersBuffer.createGraphics();
                 g2.setClip(scaledClip);
                 g2.setTransform(trDef);
-                for (int i = nonChangedLayers.size(); i < nonChangedLayersCount; i++) {
+                g2.setColor(PaintColors.getBackgroundColor());
+                g2.fillRect(0, 0, width, height);
+
+                for (int i = 0; i < nonChangedLayersCount; i++) {
                     paintLayer(visibleLayers.get(i), g2);
                 }
-            }
-        }
-
-        nonChangedLayers.clear();
-        if (nonChangedLayersCount > 0)
-            nonChangedLayers.addAll(visibleLayers.subList(0, nonChangedLayersCount));
-        lastViewID = getViewID();
-        lastClipBounds = g.getClipBounds();
+                g2.dispose();
+            }
+        }
+
+        lastViewID = viewID;
+        lastClipBounds = clip;
+        lastPaintedScale = scale;
+        lastPaintedCenter = center;
+        lastPaintedProjection = getProjection();
+        lastPaintedLayers = new ArrayList<>(visibleLayers);
 
         Graphics2D tempG = offscreenBuffer.createGraphics();
         tempG.setClip(scaledClip);
         tempG.setTransform(new AffineTransform());
-        tempG.drawImage(nonChangedLayersBuffer, 0, 0, null);
+        if (canReusePan) {
+            tempG.drawImage(nonChangedLayersBuffer, blitDX, blitDY, null);
+            if (blitDX != 0) {
+                paintPanStrip(tempG, blitDX > 0 ? 0 : width + blitDX, 0,
+                        Math.abs(blitDX), height, visibleLayers, trDef);
+            }
+            if (blitDY != 0) {
+                paintPanStrip(tempG, 0, blitDY > 0 ? 0 : height + blitDY,
+                        width, Math.abs(blitDY), visibleLayers, trDef);
+            }
+            tempG.setClip(scaledClip);
+        } else {
+            tempG.drawImage(nonChangedLayersBuffer, 0, 0, null);
+        }
         tempG.setTransform(trDef);
 
-        for (int i = nonChangedLayersCount; i < visibleLayers.size(); i++) {
-            paintLayer(visibleLayers.get(i), tempG);
+        // Skip during a pan: repainting over the shifted composite would
+        // duplicate and stack translucent layers. Changes appear after pan stops
+        if (!canReusePan) {
+            for (int i = nonChangedLayersCount; i < visibleLayers.size(); i++) {
+                paintLayer(visibleLayers.get(i), tempG);
+            }
+        }
+        if (fullClip && !canUseBuffer) {
+            Graphics2D g2 = nonChangedLayersBuffer.createGraphics();
+            g2.drawImage(offscreenBuffer, 0, 0, null);
+            g2.dispose();
+        }
+
+        // Viewport-fixed overlay which must not go into the reused composite
+        for (Layer layer : visibleLayers) {
+            if (layer instanceof AbstractTileSourceLayer) {
+                ((AbstractTileSourceLayer<?>) layer).paintAttribution(tempG, this);
+            }
         }
 
         try {
             drawTemporaryLayers(tempG, getLatLonBounds(new Rectangle(
-                    (int) Math.round(g.getClipBounds().x * uiScaleX),
-                    (int) Math.round(g.getClipBounds().y * uiScaleY))));
+                    (int) Math.round(clip.x * uiScaleX),
+                    (int) Math.round(clip.y * uiScaleY))));
         } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) {
             BugReport.intercept(e).put("temporaryLayers", temporaryLayers).warn();
@@ -630,4 +704,5 @@
             playHeadMarker.paint(tempG, this);
         }
+        tempG.dispose();
 
         try {
@@ -664,4 +739,22 @@
     }
 
+    /** Icon overhang covered by the pan-strip band in logical pixels */
+    private static final int PAN_STRIP_MARGIN = 16;
+
+    private void paintPanStrip(Graphics2D g, int x, int y, int w, int h, List<Layer> layers, AffineTransform trDef) {
+        // Fill first so translucent content does not double stack
+        int mx = (int) Math.ceil(PAN_STRIP_MARGIN * trDef.getScaleX());
+        int my = (int) Math.ceil(PAN_STRIP_MARGIN * trDef.getScaleY());
+        Rectangle band = new Rectangle(x - mx, y - my, w + 2 * mx, h + 2 * my);
+        g.setTransform(new AffineTransform());
+        g.setClip(band);
+        g.setColor(PaintColors.getBackgroundColor());
+        g.fillRect(band.x, band.y, band.width, band.height);
+        g.setTransform(trDef);
+        for (Layer layer : layers) {
+            paintLayer(layer, g);
+        }
+    }
+
     private void drawTemporaryLayers(Graphics2D tempG, Bounds box) {
         synchronized (temporaryLayers) {
@@ -824,5 +917,4 @@
             mapMover.destroy();
         }
-        nonChangedLayers.clear();
         synchronized (temporaryLayers) {
             temporaryLayers.clear();
@@ -830,4 +922,7 @@
         nonChangedLayersBuffer = null;
         offscreenBuffer = null;
+        lastPaintedLayers = null;
+        lastPaintedCenter = null;
+        lastPaintedProjection = null;
         setTransferHandler(null);
         GuiHelper.destroyComponents(this, false);
Index: trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java	(revision 19701)
@@ -15,7 +15,8 @@
 import java.awt.GridBagLayout;
 import java.awt.Image;
+import java.awt.Rectangle;
 import java.awt.Shape;
+import java.awt.Stroke;
 import java.awt.Toolkit;
-import java.awt.Stroke;
 import java.awt.event.ActionEvent;
 import java.awt.event.MouseAdapter;
@@ -176,4 +177,6 @@
     /** Zoomlevel at which tiles is currently downloaded. Initial zoom lvl is set to bestZoom */
     private int currentZoomLevel;
+    /** Zoom level the tiles were actually displayed at (auto-zoom fallback) for attribution */
+    private int lastDisplayZoomLevel;
 
     private final AttributionSupport attribution = new AttributionSupport();
@@ -294,4 +297,5 @@
 
         currentZoomLevel = getBestZoom();
+        lastDisplayZoomLevel = currentZoomLevel;
 
         Map<String, String> headers = getHeaders(tileSource);
@@ -1585,4 +1589,17 @@
     }
 
+    /**
+     * Paints the imagery attribution as a viewport-fixed overlay.
+     * @param g the graphics context to paint on
+     * @param mv the map view to paint for
+     * @since 19701
+     */
+    public void paintAttribution(Graphics2D g, MapView mv) {
+        ProjectionBounds pb = mv.getState().getViewArea(new Rectangle(0, 0, mv.getWidth(), mv.getHeight()))
+                .getProjectionBounds();
+        attribution.paintAttribution(g, mv.getWidth(), mv.getHeight(), getShiftedCoord(pb.getMin()),
+                getShiftedCoord(pb.getMax()), lastDisplayZoomLevel, this);
+    }
+
     private void drawInViewArea(Graphics2D g, MapView mv, ProjectionBounds pb) {
         int zoom = currentZoomLevel;
@@ -1635,4 +1652,5 @@
         }
         TileSet ts = dts.getTileSet(zoom);
+        lastDisplayZoomLevel = displayZoomLevel;
 
         // try to load tiles from desired zoom level, no matter what we will show (for example, tiles from previous zoom level
@@ -1682,9 +1700,4 @@
             this.paintTileText(t, g);
         }
-
-        EastNorth min = pb.getMin();
-        EastNorth max = pb.getMax();
-        attribution.paintAttribution(g, mv.getWidth(), mv.getHeight(), getShiftedCoord(min), getShiftedCoord(max),
-                displayZoomLevel, this);
 
         g.setColor(Color.lightGray);
Index: trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java	(revision 19698)
+++ trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java	(revision 19701)
@@ -1508,4 +1508,9 @@
     @Override
     public void primitiveHovered(PrimitiveHoverEvent e) {
+        MapFrame map = MainApplication.getMap();
+        // Skip hover highlight while panning, otherwise would invalidate on every feature
+        if (map != null && map.mapView != null && map.mapView.isPanning()) {
+            return;
+        }
         List<IPrimitive> primitives = new ArrayList<>(2);
         primitives.add(e.getHoveredPrimitive());
