A method for selectively inserting cache entries into a cache memory is
proposed in which incoming data packets are directed to output links
according to address information. The method comprises the following
steps: a) an evaluation step for evaluating for each incoming data packet
classification information which is relevant to the type of traffic flow
or to the traffic priority to which the data packet is associated; b) a
selection step for selecting based on the result of the evaluation step
whether for the data packet the cache entry is to be inserted into the
cache memory; c) an entry step for inserting as the cache entry into the
cache memory, in the case the result of the selection step is that the
cache entry is to be inserted, for the data packet the address
information and associated output link information.