Simple module to warmup a server application (such as an Express app) by hitting server URLs and performing various tasks. This module also allows a worker to be warmed up before it is added to a cluster.
npm install warmup
var warmup = ;;;
Simple example of warming up an Express server application:
var warmup = ;var express = ;var app = ;// ...;
Passing the warmup tasks information:
The following options are supported:
warmup module works by starting the app on a random HTTP port. This allows the application to be started without accepting traffic.