Added filter for content type for cache key, in case file extension is being overridden through other filters.