Skip to content

Releases: BackendStack21/http-cache-middleware

Fixing iff/unless integration

23 Nov 20:15
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.1

Cumulative release

26 Aug 12:10
Compare
Choose a tag to compare

What's Changed

  • utility functions externalized
  • support optional req.cacheKey
  • updating documentation
  • adding utils.js file to module
  • cache-manager module integration fixes

Full Changelog: v1.3.10...v1.4.0

Fixing redis invalid cache.del argument

19 Jun 13:59
Compare
Choose a tag to compare

What's Changed

  • fix: Fixing redis store error when passing empty keys array by @jkyberneees in #15
  • Dependencies were updated

Full Changelog: v1.3.9...v1.3.10

Updating dependencies

31 Oct 19:36
Compare
Choose a tag to compare

Changes:

  • Dependencies were updated to latest versions

Fix wildcard pattern support

25 May 13:54
Compare
Choose a tag to compare

Changes:

  • Fixes wildcard pattern support as described at: #13
  • Dependencies were updated to latest versions

Updating dependencies and docs

01 May 11:40
Compare
Choose a tag to compare

Changes:

  • Updating project documentation
  • Updating dependencies

Updating dependencies

13 Nov 12:42
Compare
Choose a tag to compare
  "devDependencies": {
    "chai": "^4.2.0",
    "got": "^11.8.0",
    "mocha": "^8.2.1",
    "nyc": "^15.1.0",
    "restana": "^4.8.0"
  },
  "dependencies": {
    "@tusbar/cache-control": "^0.5.0",
    "cache-manager": "^3.4.0",
    "matcher": "^3.0.0",
    "middleware-if-unless": "^1.2.5",
    "ms": "^2.1.2",
    "on-http-end": "^1.0.2"
  }

Enforce cache writing order

05 May 14:56
Compare
Choose a tag to compare

Changes:

  • Two steps async cache writing is now ordered to avoid timing issues under high concurrency

Skip 304 responses fix

05 May 14:03
Compare
Choose a tag to compare

Changes:

  • Here we fix the checks that tell the middleware to skip storing 304 responses in cache.

Ignore caching when response code is 304

29 Apr 10:39
Compare
Choose a tag to compare

Changes:

  • Avoid unnecessary caching checks when response code is 304