Seems to stall on Android/Chrome
-
-
Still no where near a desktop, but did try one thing. Logged into the forum as a new user and no delays. Logged back in as admin and it stalls.
Explains why I don't see this problem here.
Same phone and same signal / location.
Wonder if some extra webslckets are timing out for me when logged in as admin.
Will test further and report back.
@julian can you reply to my email on sales?
-
This is what I get in the Chrome timeline when I inspect - which, while it is accurate (600ms) that /api request stays pending for 10-60 seconds before it goes through.
Server logs show that the response is sent out in < 100ms so 600ms over mobile seems reasonable.
The culprit may be an adsense code block that I have in the widget area. Removed it and things seem to be faster. Need to nail this down and get it to fail / work consistently. (The init code is in the header via the custom header / css config.
<div style="text-align: center; height: 280px; min-width: 300px; max-width: 336px; margin: 10px auto; padding-bottom: 10px;"> <!-- 2015 - NewsFora V3--> <ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-xxxx" data-ad-slot="2701930026" data-ad-format="rectangle"></ins> </div> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
-
Ok, I can confirm that it is the above adsense code which was put into an HTML widget which causes a stall.
Weird though that is very significant on a mobile load (3-5 seconds and some time a minute plus).
Leaving it on https://newsfora.com if someone can take a look and see what could be causing this problem on an Android / Chrome combo (both over WiFi and Mobile - eliminates the possibility that the mobile carrier is causing a delay).
**
Incase it matters -- ./nodebb dev does not return any more info.
- nginx is sending out the response within the 200ms range. Will break out wireshark over the next day or two and check if it is indeed being received by the mobile device.
- Theme independent - tested on persona and lavender. (Did this as the spinner from njprogress.js was active on persona while waiting)
**
-
@psychobunny - could you look at this issue? I suspect that the ad block (more likely the javascript part of the block) is causing some server side or client side rendering / blocking?
Theoretically, seems impossible as the API call just sends out JSON ... but I suspect something after the JSON data is returned causes a stall or timeout on the android client.
Clueless on how to debug further.
-
For me, after I think 5 loads I get this message and the ads disappear:
but, the site works as normal for me (just the ads aren't appearing)
-
Tried on chrome, this is the result
The forum continues to work as normal, but ad doesn't appear
EDIT:
is causing some server side or client side rendering / blocking?
More importantly, I'm not getting an issue like this. The only issue is that the sidebar is empty, for me