T
TanStack7mo ago
like-gold

Image rendering

I try make instagram clone with tanstack start Technologies: - Tanstack Start, - Tanstack Query, - Tailwind + shadcn, - Prisma + Turso (LibSQL), - Better Auth
2 Replies
flat-fuchsia
flat-fuchsia6mo ago
How are your images rendering so fast?
correct-apricot
correct-apricot6mo ago
I didn't really do anything to optimize the images. For image uploads I use cloudinary and I use the lazy=loading attribute in the <img/> tag. I also use tanstack query for data fetching and caching, it also helps that the post images are ready on the first load

Did you find this page helpful?