Jump to content

Thousands of SVG requests causes major lag


smerriman

Recommended Posts

Log into BridgeBase, then open developer tools, and look at the Network section.

 

There are 16 SVG files which are repeatedly requested. If you do nothing, then every 5 seconds or so, the full set of 16 is re-requested 2 or 3 times. If you start moving your mouse anywhere within the window this is amplified - in 10-15 seconds you're quickly up to over a thousand SVG requests.

 

These are served from the browser cache, so it's not actually re-downloading the image every time. But the site asking the browser to fetch information from its cache thousands of times in a short period is a sign of something being very, very wrong.

 

Video demo attached - watch the request count as the bottom left as first I do nothing, and then I start moving the mouse - with Network Tools open my browser already gets very laggy just doing that, so the request count hangs for a bit before quickly jumping up to 1000 then 1400.

 

Note this won't just be about SVGs; if it's requesting SVGs then no doubt it's doing lots of other HTML processing way more than it should be. At the very least, some sort of throttling on mouse movement could be put in place (it's as if every pixel of mouse movement generates a full rebuild of the HTML), but I think the issue lies much deeper..

 

 

(This probably explains why the site can be extremely laggy at times, especially in games like Robot Reward where you're trying to click cards as fast as possible, which can often result in the whole screen hanging / cards getting out of place).

 

(Tested on Firefox 96.0.1, Windows 10)

Link to comment
Share on other sites

What time did that happen today

 

Whatever it was caused massive problems on my whole LAN for hours (Android/Windows, PCs, phones, printers, the lot)

 

I thought it was the security issues in Windows

 

PS I was using Edge but also had chrome open at the time. I stopped using BB in chrome because of slowness issues

Windows 10 of course

 

Exact sequence of events

 

Started BB 12 board MP tourney at zero hour

Next 20 minutes like wading through treacle

Partner says she cannot access router anymore from her phone

I say can you use mobile data until I'm finished

another 5 minutes of treacle followed by sudden increase in speed, as if a blockage had been removed

Finished tourney

Rebooted computer.Went to help partner

No access to painfully slow router from any device in home

etc

 

Thought we had hackers in our wifi. Turned off every device and router

Contacted ISP

Left everything off for a few hours

Came back and everything is working having asked ISP if they could supply a replacement router if needed etc

 

Other important info. Voice over IP worked fine. Appeared to be some kind of interference with the LAN/WiFi etc

 

I didn't even get to see what state the poor old router was in since I couldn't log on to it and it turned off for its own safety for a while

Link to comment
Share on other sites

It's not time or LAN based, so what you are describing is unrelated.

 

I apologise for thinking anything to do with multiple requests and delays in Bridgbase could affect my LAN at all

I am very impressed at the level of technological development at BridgeBase that is bypassing my LAN to get to my computer somehow

Magic!

 

And I apologise for in any way thinking the weird stuff going on coincidently was related to any other BB related issue (involving lags and spurious requests)

I will start a separate thread :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...