fixing caches and mimetypes