Answer the question
In order to leave comments, you need to log in
How to level the delay of non-instantaneous image compression?
I
compress images
using a PHP solution https://github.com/psliwa/image-optimizer _ _ _
_ in order for it to be displayed, you need to refresh the page
(this is if hard caching is not enabled on the nginx side, otherwise it’s a disaster :).
How to organize a chain so that the image is guaranteed to come to us?
Answer the question
In order to leave comments, you need to log in
It's better not to use php extensions at all, because this will create a load on php-fpm and etc anyway ... It's
better to install a watcher that will monitor the appearance of new images on the site and compress in the background without quality loss,
for example, this
https:/ /github.com/OrlovEvgeny/TinyJPG
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question