Skip to content

Releases: BackendStack21/http-cache-middleware

Fixing iff/unless integration

Choose a tag to compare

@jkyberneees jkyberneees released this 23 Nov 20:15

What's Changed

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

Cumulative release

Choose a tag to compare

@jkyberneees jkyberneees released this 26 Aug 12:10

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

Choose a tag to compare

@jkyberneees jkyberneees released this 19 Jun 13:59

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

Choose a tag to compare

@jkyberneees jkyberneees released this 31 Oct 19:36

Changes:

  • Dependencies were updated to latest versions

Fix wildcard pattern support

Choose a tag to compare

@jkyberneees jkyberneees released this 25 May 13:54

Changes:

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

Updating dependencies and docs

Choose a tag to compare

@jkyberneees jkyberneees released this 01 May 11:40

Changes:

  • Updating project documentation
  • Updating dependencies

Updating dependencies

Choose a tag to compare

@jkyberneees jkyberneees released this 13 Nov 12:42
  "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

Choose a tag to compare

@jkyberneees jkyberneees released this 05 May 14:56

Changes:

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

Skip 304 responses fix

Choose a tag to compare

@jkyberneees jkyberneees released this 05 May 14:03

Changes:

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

Ignore caching when response code is 304

Choose a tag to compare

@jkyberneees jkyberneees released this 29 Apr 10:39

Changes:

  • Avoid unnecessary caching checks when response code is 304