23 Preloading
| (require koyo/preload) | package: koyo-lib | 
This module provides a middleware and facilities for working with preload headers.
parameter
(current-preload-dependencies deps) → void? deps : (listof string?) 
This parameter holds the set of absolute dependency URLs for the
current request.
procedure
(track-preload-dependency! dependency) → void?
dependency : string? 
Adds dependency to the current-preload-dependencies.
procedure
Converts the current-preload-dependencies into a list of
Link headers.
procedure
handler : procedure? 
Wraps handler so that preload dependencies can be tracked
during its execution.