An open API service indexing awesome lists of open source software.

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

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