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

UT2004 server make heavy load for browser #2

Open
SeriousBuggie opened this issue Aug 25, 2023 · 1 comment
Open

UT2004 server make heavy load for browser #2

SeriousBuggie opened this issue Aug 25, 2023 · 1 comment

Comments

@SeriousBuggie
Copy link

Reproduce:

  1. Open http://beta.openspy.net/en/server-list/ut2004

Expected result: While page load, browser act responsively, like possible switch to another tab.
Actual result: browser freeze as hell, and switch to another tab with significant delay, like 20-40 seconds.

Used Firefox 115.1.0esr 64-bit on Windows 7.

Possible reason - country flags put on page as objects (use object tag). It is SVG images, and can be put as images (img tag).
As result - same resources ask again and again. Which make DoS attack on web server and create other issues.

Here net console: Cache turn on, but this not help. Same resources request again and again:
img

@SeriousBuggie
Copy link
Author

Example of code for show one flag:

<td _ngcontent-olm-c17="" class="fiag-icon"><object _ngcontent-olm-c17="" type="image/svg+xml" data="assets/flags/us.svg"></object></td>

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