Often WMS servers will not give you anything but a transparent image at lower zooms. When using WMS servers on the web this can often lead to a poor user experience.
I would like to build a local cache of the missing lower level zooms of the remote WMS server, so that we can also display map tiles on the web when zoomed out. I do not control the remote server so we can assume it doesn't have any special features.
What is an easy way to pull down the lowest resolution available from the WMS and then building a pyramid of the missing lower zoom level raster tiles as static files (preferably .mbtiles)?