meterer.set_cached_resource_size(resource_name)

        Set cached information about the given resource.

def set_cached_resource_size(self, resource_name, size):
        """
        meterer.set_cached_resource_size(resource_name)

        Set cached information about the given resource.
        """
        size_data = json_dumps({"size": size, "recorded_time": time()})
        self.cache.set(
            "SIZE:%s" % resource_name, size_data,
            ex=self.size_cache_timeout)
        return