Disclosed are a method and device (100) for prefetching referenced
resources (105) from servers (102, 103, 104). A first resource (106) is
scanned for unfetched references (107), which are weighted and prefetched
in the order of their weight. The computation of the weight is based on
the number of times the resource referenced by the reference has been
fetched previously, and on the number of times one or more further
resources have been fetched previously from a server that serves the
resource referenced by the reference. The device (100) can be realized as
a computer program product.