Enhancement: Added mimetypes object
Change: Simplified cache hit check