Initial attempt at caching for tileset.