E
E
evve2021-08-30 21:45:08
Images
evve, 2021-08-30 21:45:08

What is the best way to optimize a site with a lot of images?

Good afternoon!
There is a website with 100,500 images (approximately 6GB). There are pictures in every article and 200-300 views on the site per day. Hosters block the site for exceeding the limit.
Google page says: Prevent excessive network load. The total size has reached 4,835 KiB (this is after installing plugins for image compression and cache / css, js settings and other things, before that it was 7mb)
I suspect because of this we are violating all limits .
Does it make sense to put the photo on a separate resource?
Or what is the best way to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Zolin, 2021-08-30
@artzolin

The hoster blocks you not for exceeding the limit on image views, but for exceeding the load limit on server resources when generating site pages. You probably have heavy requests to the database or a low tariff on the host
. Personally, I doubt that moving images to a separate resource will give at least some result. Images need to be compressed, only the appropriate size should be displayed on the page (medium, large), unused sizes should be removed remove_image_size()and cut again . Regenerate Thumbnails
This will reduce the file size and increase the user's site loading speed, but will not affect the spent server resources in any way

A
Anonimmus, 2021-08-30
@Anonimmus

For optimization I use regenerate thumbnails, lazyload and wp rocket optimizer. In extreme cases, try robin image optimizer (backup is required)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question