The present invention relates to optimizing pushing of at least one resource associated with a main resource, in response to a request 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.