Purge the cache the first time a tile is saved to the cache, and again whenever the size limit is reached.