WIP: Cleaning flask-iiif

Nothing to review yet cleaning in progress
`cached = self.cache.get(key)`