My portfolio has 40 large images per page. The score from the testing tool is in the red. What are the quick wins?
Page speed: my photo pages take 6 seconds to load
8 answers
Images are almost always the problem. In order of impact:
- Turn on responsive images (Settings > Media). Lumen then serves a smaller file to phones.
- Enable lazy loading for everything below the first screen.
- Convert uploads to WebP (the option is in the same screen).
- Turn on page caching and check that the cache folder is writable.
On a gallery of that size you will probably go from 6 s to about 1.5 s. Also consider splitting the gallery into pages of 12 images.
Add a comment
+1 to what @demo-mei said. Starting small is underrated.
Add a comment
I do this too. It took me a while to find a routine that I actually stick to.
Add a comment
Thanks for starting this, @demo-mei. I learned something new just from reading the replies.
Add a comment
Not the answer you want, but I stopped worrying about it once I wrote the steps down as a checklist.
Add a comment
+1 to what @demo-mei said. Starting small is underrated.
That matches my experience too, with one difference: I do it on a copy first.
Add a comment
I tried the opposite approach last year and regretted it. Here is what I learned:
- Keep it boring.
- Write it down.
- Revisit it every quarter.
Add a comment
Short version from me: pick one tool, learn it well, and do not switch every month. (I say this and then switch every month.)
Does this also work on shared hosting?