code: def create_cached_item(self, path, content):
          
          if isinstance(content, Image.Image):
              f = tempfile.NamedTemporaryFile()
              content.save(f.name, format=content.format)
  
              item_path = '%s/%s' % (
                  self.cache_folder,
                  path.strip('/')
              )
  
              self.blob_service.create_blob_from_path(self.container_name, item_path, f.name)
  
              return self._generate_url(item_path)
          else:
              return False
docs: Create cached resource item
          :param path: str
          :param content: PIL.Image
          :return: str