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.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, in my express I use only 1 cookie (API_TOKEN), but client side send varius cookie eg:
API_TOKEN
_ga_M9MSXKVJN9=XXXX; _ga_W98228BE06=XXXX; _gid=XXXX; _ga=XXXX; _gcl_au=XXXX; _ga_5MFMLYZHT2=XXXX; rxVisitor=XXXX; _ga_K4Y50QD36K=XXXX; dtCookie=XXXX; dtSa=XXXX; rxvt=XXXX; API_TOKEN=XXXX;
the _g* cookies are Google Analitycs / Google Tag Manage the _dt* and rx* cookies are Dynatrace the API_TOKEN is the only one used by my express!
_g*
_dt*
rx*
Parsig all those cookies on each request has a performance impact!
The idea is introduce an option for limit the cookie parsing on a limit numer of cookies, eg.:
app.use(cookieParser({null, { allowedCookie: ['API_TOKEN'] }}))
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hi, in my express I use only 1 cookie (
API_TOKEN
), but client side send varius cookie eg:the
_g*
cookies are Google Analitycs / Google Tag Managethe
_dt*
andrx*
cookies are Dynatracethe
API_TOKEN
is the only one used by my express!Parsig all those cookies on each request has a performance impact!
The idea is introduce an option for limit the cookie parsing on a limit numer of cookies, eg.:
The text was updated successfully, but these errors were encountered: