Skip to content
New issue

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

When js file doesn't exist, chrome sometimes makes two requests #120

Open
vladshcherbin opened this issue Feb 21, 2019 · 0 comments
Open

Comments

@vladshcherbin
Copy link

Hey,

I'm was trying a basic koa server setup and saw an interesting thing - if I request a js file which doesn't exist, chrome makes two requests sometimes for it which can be seen on network a panel. Chrome doesn't always make two requests, only sometimes (like 50% or smth).

I found out this using koa-static, but it also happens with bare koa-send as it's used inside of koa-static.

Any idea why this can be happening? I can make a demo repo if needed.

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

No branches or pull requests

1 participant