We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f5ef17 commit 4c147aeCopy full SHA for 4c147ae
index.js
@@ -71,6 +71,8 @@ const middleware = (opts) => async (req, res, next) => {
71
}
72
73
onEnd(res, (payload) => {
74
+ if (res.statusCode === 304) return
75
+
76
if (payload.headers[X_CACHE_EXPIRE]) {
77
// support service level expiration
78
const keysPattern = payload.headers[X_CACHE_EXPIRE].replace(/\s/g, '')
0 commit comments