cache object when store file. get content_type by using cache