Flask expiring disk and memory cahcing, with supplemental tools to generate disk cache thumbnails, etc.