Prefetching
This page describe prefetching method of wcol.
"Prefetching" means that program transform resources before user requests.
That reduce response time.
Imagine using WWW. People access resource via anchors in page. Browser send
request for that resources to server(or proxy). So, a large number of request
was issued from anchor in page.
Wcol guess prefetching targets by parsing anohors from page.
Prefetching system needs prefetching for in-line images, because many browser
send requests of in-line image.
Basic Algorithm
begin
anchor_set := SeekAnchor(base_page);
foreach A in anchor_set do
begin
Get(A);
included_set := SeekIncluded(A);
foreach I in included_set do
begin
Get(I);
end;
end;
end.
NOTE: "base_page" is reqeusted page from browser.