Cache tiles in var/tmp folder

@fredericbonifas ready to merge/review :)