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•5mo ago
How are your images rendering so fast?
quickest-silver•5mo 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