Kyllian
Distinguish app/desktop users with SWR
Hi,
Currently using SWR and I was wondering how I can distinguish users in the API. A use case would be where I want to show different products for users on mobile. Will this not invalidate the SWR response and cause a reload?
2 replies
RayGun maximum call stack size exceeded
Hi,
I'm trying to implement RayGun (kind of like sentry) into my nuxt application. Running in dev mode works fine, unfortunately running it in preview mode always leads to a Maximum call stack size exceeded. How would I debug this? Or is it a RayGun issue?
1 replies
Very inconsistent JS execution time
Hi guys,
We're currently experiencing very inconsistent loading times for our site. A sample would be:
https://pagespeed.web.dev/analysis/https-www-minecraftiplist-com-server-tags-Aternos/qsfii3250j?utm_source=search_console&form_factor=mobile&hl=nl
How would we even start to debug those? As running them now will probably bring the time down. This hurts our SEO really bad.
6 replies
How to decrease server response time?
Hi,
I know it's a broad question, but let me explain.
I'm currently experiencing some issues with Nuxt under 'high' load. The server response time will increase from ~300ms to ~700m. But the API is done within 10ms according to the logs.
Which makes me think somewhere there might be a bottleneck in the network itself. Pinging the domain takes around 20ms at most. Where would I begin looking for those issues?
DNS resolving seems fine according to the network tab. The content download itself is 80ms, but the 'Waiting for server response' is easily 300ms+.
9 replies
LCP Insanely high with 'dynamic' text
Hi guys, we've been struggling for a while with our web-vitals.
To keep it simple; we fetch 15 objects using useFetch. We throw this into a component and read a textual value of this. This causes a huge LCP from 2.5 seconds on the mobile test.
This component also includes a video, which might be the reason why it's slow in the first place. Is there any way to improve the LCP or statistics in general. We already optimized the server/api a lot. It takes around 2-10ms to respond.
Please let me know if you need any code, don't want to throw the complete project on here 😛
23 replies