File Cache: Cache all mimetypes

Else we are having one DB query for each different mimetype.