Are browsers supposed to cache blank tiles? I have a layer cached with GeoWebCache. When I request this layer via OpenLayers I can see that tiles containing data are taken from cache, the blank tiles are always requested from GeoServer (and then taken from cache?). Here is the screen - all requests on first screen returned empty tiles, still it takes lot of ms:
Here are the tiles containing actual data:
Is it standard behaviour of OpenLayers or I did something wrong? (I am using OpenLayers 2.13.1).
I can't find any header that may be responsible for caching by browser. Is it possible that OpenLayers is doing the caching based on the response?
Empty tiles response:
Tile with data response (cached)
So now I have 3 new questions:
What is the reason? Is it because GeoWebCache is not caching empty tiles? Or OpenLayers is not letting browser to cache them?
Is it more optimal not to cache empty tiles?
How to change this behaviour?