I'm using Leaflet together with QGIS Server, creating a TileLayer.WMS pointing to qgis_mapserv.fcgi.exe. It all works like a charm, except for the fact that I can't manage to refresh the tiles when having changed the layer symbology server-side.
I have tried adding a random query argument to the layer URL in order to make it unique so that it's reloaded, and I actually see new tiles loading in Chrome's Network console. I also disable browser caching in same Network console. But the current level will stay as it was until I refresh the page. Other zoom levels are updated though, so when I zoom in and out they are correct.
I have tried calling redraw on the layer, explicit removeAllTiles and update, as well as setting its _tiles to an empty list - to no avail.
How can I force the current tiles to be reloaded? And how do I find out which caching that is the culprit? Anything specific in Leaflet, my browser or in QGIS Server?
/Andreas