FastBoot Cluster Node Cache
This cache for the FastBoot App Server utilizes cluster-node-cache to cache the results of rendered FastBoot pages.
To use this cache:
const FastBootAppServer = ;const ClusterNodeCache = ; let cache = ; let server = cache: cache expiration: 60 // optional, defaults to 5 min.;
Additionally, if you would like your cache key to vary based on
information in the request (like headers), you can
provide a cacheKey(path, request)
function that takes in as
parameters the path being requested and the request object.
let cache = { return `_`; };