#Components is taking so much time to load
1 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
Website is at https://lutex.io for anyone who wants to look more
Transform your Discord server with Lutex – the ultimate all-in-one bot that streamlines server management, boosts engagement, and secures your community. Experience advanced moderation, anti-raid protection, customizable economy systems, automated giveaways, and efficient ticket management, all designed to enhance your server’s performance a...
The Landing page is also taking so much time to load as well
@dense orchid Your home page is 5mb ?
It's 51.6kb
it shows 5mb at network tab
also animations can make it look "loading slow" especially at slow pc s
Yea but the problem is that it's not even rendering the content
Which browser are you using?
firefox
That's weird
what could be the reasons of that huge size?
also in brave it's showing me that the size is 51.6kb, why did it take 5mb to load?
- when i do a restart to the server it's loading fast as it should
can i see your build logs @dense orchid
On local?
vercel
I don't use vercel
looks okay, maybe your host is slow
also 1s is okay for a page which have heavy animation
like threejs
hmm that's weird
no i meant 1s lemme get you the logs 😂
no i meant i checked it on network tab and showed 1s to load time, its okay
Hmm, my friend said the same thing, maybe i'm the only one who have this issue
But also 5mb to load landing page? that's alot
can we see your lighthouse reports to check what is wrong
and will be a problem for those who have a slow internet like me
or pagespeed insights
if you have a thing faster than 3g its okay to have 1sec load times
Sure
my near empty page takes 500ms
hmm, so my website is considered fast?
37 requests
1.1 MB transferred
3.6 MB resources
Finish: 780 ms
yep but fast load is not same with fast rende
its rendering slow
that is what i mean
Yes it's taking long time to render
for that i need to see the code
Can i dm?
Your local LCP value of 15.75 s is poor.
LCP element
img.w-full.h-full.object-cover
It's saying that it is because of the image under that text
yep @dense orchid
Will making it lazy load fix the issue?
i will try that
okay let me know the result
I've completely removed the image and now it's telling me
Your local LCP value of 12.59 s is poor.
LCP element
p.max-w-2xl.mx-auto.text-description-color.text-sm.lg:text-xl
Which is the description, That is just so weird
i removed framer-motion and it reduced to 3.12s
@mortal frost Can you tell me what does it shows for you?
I ll check when i on the pc, but i guessed right. Animations making things so slow and sluggish.
Also you can send me lighthouse reports and google pagespeed insights
its 1.94 s LCP on mine, but this depends on hardware and network so its not a descriptive metric to measure performance
For me its 660ms on network tab, but your / is still large and takes most of time of 660
only 400ms is "waiting server response"
If you are not performance optimistic this values are so good, if you want more fine tuning we need to see whole codebase and hosting options
@mortal frost
only the landing page is what taking that long, other pages is fast as they should
Idk if it's framer-motion or not
Looks like not
Not what exactly
Not framer i mean
hmm, So what's the issue
Is it slow when you build it locally
Hmm, a little bit, because i have some obfuscated code
but i don't use that in the landing page
Well i need to see that code
The langing page?
Codebase actually
Vscode live share link would be better
Can't give you access to the whole project sorry