I’m a new programmer, been learning coding for about 3 to 4 months now. I’m building a full stack website as a way to learn. And I’ve written the backend server in rust that just serves static html, css and image files. But I can’t figure out what’s the best format to serve images. I looked it up on Google and found that WebP was the best so I adjusted my server to serve the image files in webp instead of jpg format. But still the images take time to load in the browser. Can anyone help me with that?
I’m not using any frameworks as I wanted to build everything from scratch to understand things better.
Here’s the link to my GitHub repo:
https://github.com/Stargardts/tcp.git
And my website: https://stargardts.me
M. Abdullah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.