Skip to content

Conversation

cesco69
Copy link

@cesco69 cesco69 commented Apr 15, 2025

close #126

Parsing a long list of cookies on each request has a performance impact!

This PR introduce an option for limit the cookie parsing on a limit numer of cookies, eg.:

app.use(cookieParser('keyboard cat', {
   allowedCookie: ['myCookie']
}))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf: limit cookie parse only on some cookie

1 participant