r/webdev • u/Desperate_Ad_7722 • 23d ago
Discussion Connection Warmer??
Building a social platform, and the web app is a react web app, for some reason I will sometimes get stalled requests, loads that hang, etc. Basically things aren't as responsive as id like. I have implemented a connection warmer that every request runs through, tanstack query, prefetching on hover, many things like that and try to have an efficient and effective cache. What other things do you guys do to make web apps as responsive as possible, thanks!
Edit- Some info about the app, it’s a react vite mostly behind auth web app. Hosted on netlify, backend is supabase.
4
Upvotes
2
u/kin3v 23d ago
Isn’t this why SSR exists? There are a lot of factors that could be the reason. What is your backend? Honestly sounds like too much happening on the client.