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

A survey requests a server twice when run in Google Chrome but not when run in Mozilla Firefox #6438

Closed
masciugo opened this issue Jun 27, 2023 · 5 comments
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@masciugo
Copy link
Contributor

masciugo commented Jun 27, 2023

Are you requesting a feature, reporting a bug or asking a question?

question

What is the current behavior?

when I try to load the page with the survey my server is called twice when I use chrome. This does not happen in firefox. Does anybody know why? Of course if I remove the survey from the page both browsers run only one request, as expected

See the example https://plnkr.co/edit/lvMq6zfkFukK3wpc?preview and open preview in a pop up window

image image

thank you

@masciugo masciugo changed the title chrome call my origin page twice while Firefox do not chrome calls my origin page twice while Firefox do not Jun 28, 2023
@masciugo
Copy link
Contributor Author

@masciugo
Copy link
Contributor Author

I've just found out that this behaviour was introduced by version 1.9.82. With 1.9.81 was ok: the second text/html request does not get run

https://plnkr.co/edit/lvMq6zfkFukK3wpc

this could be a performance problem for servers that build page dynamically.

Thank you

@masciugo masciugo changed the title chrome calls my origin page twice while Firefox do not chrome calls my origin page twice (while Firefox do not) since version 1.9.81 Jun 28, 2023
@andrewtelnov andrewtelnov self-assigned this Jun 28, 2023
@andrewtelnov andrewtelnov added the user issue An issue or bug reported by users label Jun 28, 2023
@andrewtelnov
Copy link
Member

@masciugo It is a strange issue. We will take a look.

Thank you,
Andrew

andrewtelnov added a commit that referenced this issue Jun 29, 2023
OlgaLarina added a commit that referenced this issue Jun 29, 2023
@masciugo
Copy link
Contributor Author

cool. thank you

@andrewtelnov
Copy link
Member

@masciugo It has been fixed.

Thank you for reporting it!
Andrew

@andrewtelnov andrewtelnov added this to the v1.9.96 milestone Jun 29, 2023
@RomanTsukanov RomanTsukanov changed the title chrome calls my origin page twice (while Firefox do not) since version 1.9.81 A survey requests a server twice when run in Google Chrome but not when run in Mozilla Firefox Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

2 participants