Simple, pre configured, express based web server with support of delaying static resources. Allows general and individual delay rules for easier web performance testing
npm ci
npm run dev
- General delay for all static files:
{ "defaultDelay": 1000 }
- Delaying individual files (overrides general delay rule):
{
"delays": {
"/styles.css": 3000,
"/javascript.js": 3000
}
}
The code designed for the experimental purposes only and should not be used in production