Releases: BackendStack21/http-cache-middleware
Releases · BackendStack21/http-cache-middleware
Fixing iff/unless integration
Cumulative release
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
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
Changes:
- Dependencies were updated to latest versions
Fix wildcard pattern support
Changes:
- Fixes wildcard pattern support as described at: #13
- Dependencies were updated to latest versions
Updating dependencies and docs
Changes:
- Updating project documentation
- Updating dependencies
Updating dependencies
"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
Changes:
- Two steps async cache writing is now ordered to avoid timing issues under high concurrency
Skip 304 responses fix
Changes:
- Here we fix the checks that tell the middleware to skip storing 304 responses in cache.
Ignore caching when response code is 304
Changes:
- Avoid unnecessary caching checks when response code is 304