T
TanStack4mo ago
other-emerald

Image rendering

I try make instagram clone with tanstack start Technologies: - Tanstack Start, - Tanstack Query, - Tailwind + shadcn, - Prisma + Turso (LibSQL), - Better Auth
2 Replies
fascinating-indigo
fascinating-indigo3mo ago
How are your images rendering so fast?
conscious-sapphire
conscious-sapphire3mo 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?