re: Making dev.to Incredibly fast VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Have you seen Grade by @benhowdle? You might be able to show a gradient instead of a solid background color while the images are loading, which doe...
 

Interesting. But is that data available before the image is loaded? The background color example here is to provide a color background on initial render, because the image won't show up at first.

But the gradient look still could be the right call, it would just be done on the sever once ahead of time instead of calculated on the client. That is the general idea with most of the app's structure. More work at write time, less work at read time.

 

Yes exactly, I didn't mean to use that exact library client-side, but to take inspiration from the algorithm and use it on the server.

It's certainly a lot nicer than just a plain color!

code of conduct - report abuse