The present invention relates to optimizing pushing of at least one resource associated with a main resource H1, in response to a request 300 for this main resource, in an intermediary component comprising a cache memory. After having sent a request for a main resource to a second component different from the intermediary component, at least one identifier of at least one resource to be pushed by the second component is received from the second component in response to the sent request. Then, at least one of said at least one received identifier is stored in a list associated with the main resource, the list being stored in the cache memory. A determination may be made if a resource associated with a main resource is to pushed or not, and if it is not to be pushed, metadata associated with the resource may be pushed.