T
TanStack5mo ago
harsh-harlequin

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-fuchsia5mo ago
How are your images rendering so fast?
quickest-silver
quickest-silver5mo 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?