While developing a Geo mapping application recently, I found myself needing to work offline for extended periods of time. I needed a cache for the tiles and because someone other than me may need to configure this, so here is the solution that ended up using.