PrefetchConfig Class
Prefetch process consists into recovering from the Web those resources configured in offliner. To do so, you call use, then list the resources by calling resources.
Methods
resources
(
chainable
-
resources
Add resources to the prefetch list of resources.
Parameters:
-
resources
Resource | Resource[]The list of resources to be added. Each resource in the list is normalized by the last registered fetcher so some fetchers allows a short syntax for its resources.
use
(
chainable
-
fetcher
Register a . The fetcher will be used to retrieve the resources of the fetcher's type.
Parameters:
-
fetcher
FetcherThe fetcher to be used for resources of fetcher's type.