Slow image loading on version 10.2.0
See original GitHub issueWhat version of Next.js are you using?
10.2.0
What version of Node.js are you using?
14.15.0
What browser are you using?
Chrome
What operating system are you using?
Linux
How are you deploying your application?
next start
Describe the Bug
Version change from 10.0.4
to 10.2.0
the images are taking too long to load
In version 10.0.4
TTFB Waiting (306.10ms)
In version 10.2.0
TTFB Waiting (9.22s)
In case I needed to add the external loader domains.
Is it if I’m forgetting to set up something?
Expected Behavior
As I did not make any configuration changes, I believe it should work as before.
At first I added the tags loading="lazy"
or priority
and the result is the same.
To Reproduce
I was not really able to reproduce the same behaviour in an example repository.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Solved: Loading images has become very slow - 9794619
I suggest trying the simplest fix first, which is to close all applications, shut down your system OS. Restart the system, reopen LR...
Read more >3 easy steps to fix slow image loading - DEV Community
Third, the best solution to prevent slow image loading or loading problems in general is to reduce the overall amount of images which...
Read more >PAN-OS 10.2.0 Known Issues - Palo Alto Networks
This list includes issues specific to Panorama™, GlobalProtect™, VM-Series plugins, CN-Series firewall, and WildFire®, as well as known ...
Read more >My gallery loading and display image very slow
Solved: I am using a gallery to display the picture that I took with my phone, but the image loading very slowly, and...
Read more >Angular versioning and releases
Low risk, bug fix release. No developer assistance is expected during update. NOTE: As of Angular version 7, the major versions of Angular...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s not just Chrome on Linux, it’s any browser on any OS. I’ve noticed it with Next.js v 10.0.8 and up, 10.0.7 is the last version I’ve tested where images load at a reasonable speed. It’s simply unsuitable for production.
The first load is slower, which makes sense because Next is optimizing the image and then is supposed to cache the results for subsequent requests.
This having been said, both the conversion process and loading from cache on subsequent requests afterwards seem much slower on any version after 10.0.7.