This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
v0.4.0
Changed
- Prefetching several pages might be fine for some sites. So, the engine got changed to return a few pages which get prefetched by the client then. A max number of returned pages is controlled by a
max_pages_in_prediction
setting. Theconfidence_threshold
setting is still considered. For example, if theconfidence_threshold
is 0.5, only 2 pages can be returned even though themax_pages_in_prediction
is 10.
Added
- All prefetched resources aren't removed from the cache anymore. Now they are moved to an offline cache which is used when a user is offline. The offline cache accumulates all prefetched resources during the user's navigation. Thus, the site can partially work offline (sirko-io/client#29).