3.2.2 • Published 1 year ago
@bbc/http-transport-request-collapse v3.2.2
HTTP Transport Request Collapse
Merges duplicate requests into a single request
Installation
npm install --save @bbc/http-transport-request-collapse
Usage
const HttpTransport = require('@bbc/http-transport');
const collapse = require('@bbc/http-transport-request-collapse').middleware;
const client = HttpTransport
.createBuilder()
.use(collapse())
.createClient();
Key generation
⚠️ 🔥 Requests are de-dupded by creating a cache key from the request. Currently, this is only based on the url 🔥 ⚠️
Test
npm test
3.2.2
1 year ago
3.2.1
1 year ago
3.2.0
1 year ago
3.1.2
3 years ago
3.1.1
6 years ago
3.1.0
6 years ago
3.0.1
7 years ago
3.0.0
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.1
7 years ago