baoliay2008 / lccn_predictor

LeetCode Contest Rating Prediction
https://lccn.lbao.site
MIT License
566 stars 22 forks source link

[BUG] Site stuck in loading phase #31

Closed Tanuj-Taneja1 closed 8 months ago

Tanuj-Taneja1 commented 8 months ago

Description The site https://lccn.lbao.site/ is not loading properly Checked on multiple devices

Screenshot image

baoliay2008 commented 8 months ago

Works on my laptop and phones. Could you please clear your browser cache and try again?

baoliay2008 commented 8 months ago

@Tanuj-Taneja1 It should be the frontend cache issue. Please let me know if you can access it by clearing your browser cache.

Tanuj-Taneja1 commented 8 months ago

Still not working for me after removing browser cache Also tried on different browsers still the same issue

Tanuj-Taneja1 commented 8 months ago

@baoliay2008 I even tried opening the site in my brothers phone still stuck at loading

baoliay2008 commented 8 months ago

@Tanuj-Taneja1 Thank you for your quick response. I have just re-published the front-end code. Please try again; this is a significant bug. Please let me know if you can open it now.

baoliay2008 commented 8 months ago

@Tanuj-Taneja1 Sorry, it's not working. I'm still fixing some backend code.

Aasrish commented 8 months ago

@baoliay2008 I think it's working now, I just opened it, but yes, it is taking some time in opening.

baoliay2008 commented 8 months ago

@Aasrish Thank you for your response. It's about a cache issue related to the frontend rebuild. Let's address this issue in the future. Kindly leave this issue open, and I will solve it later.

Tanuj-Taneja1 commented 8 months ago

@Aasrish how long did it took for you, it is still not opening for me

baoliay2008 commented 8 months ago

@Tanuj-Taneja1 It's weird, please give it a try using private mode.

baoliay2008 commented 8 months ago

It's normal for it to take longer than before because all static files will be downloaded again since I reset the cache.

Tanuj-Taneja1 commented 8 months ago

Nope still the same

image

baoliay2008 commented 8 months ago

@Tanuj-Taneja1 How about now? There was an update. Everything should be normal now.

Tanuj-Taneja1 commented 8 months ago

@baoliay2008 yes the site is opening on 1 of my devices but still not all of them. But thanks anyway got to know my rank change

manoharreddyporeddy commented 8 months ago

Same issue for me too

But after 1 minute wait, page loaded On each rank check, 10 seconds wait is required now.

sam20908 commented 8 months ago

Same issue for me, using Windows 11 and Edge browser.

What is the app doing to take so long?

baoliay2008 commented 8 months ago

@manoharreddyporeddy @sam20908 Hi, this issue is affecting some users. I have just disabled a front-end analytics tool, which is the only thing that may be causing this error, as some client-side networks may not have access to this public tool. Please let me know if things are working well now.

manoharreddyporeddy commented 8 months ago

Today it is working. All good.

image

baoliay2008 commented 8 months ago

OK, thank you. @manoharreddyporeddy

sam20908 commented 8 months ago

It works for me, but I have to wait like 5 minutes

baoliay2008 commented 8 months ago

@sam20908 It shuold take less than 1 second.

Could you please provide a screenshot of 'Developer Tools (F12) -> Network'? Without it, I won't be able to identify the root cause. Some people may have unintentionally clicked the 'Disable Cache' option in their browser, causing it to download static files every time, but it shouldn't take so long to visit.

sam20908 commented 8 months ago

image

image

sam20908 commented 8 months ago

Ah it takes very short now I forgot I just cleared my browser cache :)