Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit 4d9927b

Browse files
committed
1.0.3 release
1 parent 89eee48 commit 4d9927b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ Feel free to open issues on [github](http://github.com/punkave/express-cache-on-
9393

9494
## Changelog
9595

96+
### CHANGES IN 1.0.3
97+
98+
* The default hash function now correctly refuses to cache in the documented circumstances (i.e. logged-in users or a nontrivial `req.session` object). Previously a `return false` was missing, resulting in the possibility of a cached result going to a user with a different session.
99+
* `var` has been eliminated and the code has been lightly refactored without other changes to behavior.
100+
96101
### CHANGES IN 1.0.2
97102

98103
`res.getHeader` support. Thanks to Vadim Fedorov.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "express-cache-on-demand",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Express middleware providing on-demand caching in high traffic situations.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)