简体   繁体   中英

Heroku slow image loading

Hi I deployed my react+nodejs project to heroku. My website runs properly except image loading, I am using 1-2MB images. In my localhost server it works perfectly, why is heroku so slow? Is it the bad heroku servers? or my images is too heavy? and how do I fix it except resizing images wight?

My heroku website

1-2 MB is huge, you need to reduce the size to at least 200KB and even less for small screens

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM