Answer the question
In order to leave comments, you need to log in
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
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question