by BiteCode_dev · 7y ago · 0 comments
https://gist.github.com/4lejandrito/6d4f903e0a692b87344e8600...
The resize function only resizes the first time and uses a cached version of the image after that.
I checked the server and the CPU is not too high so I think it must be HTTP as parent pointed out.
Ignore my comments, then.
Using 500 requests for this because http2 exists is like stating it's ok electron apps eat 1 Go of ram because we have big configs today.
That's also why, in 2019, with quad cores, SSD and more memory than ever, things doesn't feel faster than 10 years ago.