https://github.com/drag13/staticserverdelay
Simple preconfigured web server with possibility to delay static files for webperformance testing
https://github.com/drag13/staticserverdelay
express webperf webperformance
Last synced: 10 months ago
JSON representation
Simple preconfigured web server with possibility to delay static files for webperformance testing
- Host: GitHub
- URL: https://github.com/drag13/staticserverdelay
- Owner: Drag13
- License: gpl-3.0
- Created: 2021-12-19T08:48:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T09:31:59.000Z (over 3 years ago)
- Last Synced: 2025-02-13T01:54:16.585Z (about 1 year ago)
- Topics: express, webperf, webperformance
- Language: JavaScript
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Static Server Delay
## Why
Simple, pre configured, express based web server with support of delaying static resources. Allows general and individual delay rules for easier web performance testing
## Install
```cmd
npm ci
```
## Start
```cmd
npm run dev
```
## Features
- General delay for all static files:
```json
{ "defaultDelay": 1000 }
```
- Delaying individual files (overrides general delay rule):
```json
{
"delays": {
"/styles.css": 3000,
"/javascript.js": 3000
}
}
```
## Disclaimer
The code designed for the experimental purposes only and should not be used in production