M
M
Mitras2018-04-30 21:24:32
Nginx
Mitras, 2018-04-30 21:24:32

Does automatic, physical resizing of website images for different resolutions exist?

There is such a cool module for NGINX, modpagespeed. The tasks that were assigned to it were automatic resizing of images, caching them and showing users already cached images. But this miracle works very, very poorly, namely, this is expressed in the fact that it cuts, it caches, but it does not substitute this cache for new users. And only when you re-view it, it somehow introduces all these caches, and then partially. In short, such randomness is not acceptable for the project, control is needed. Are there ready-made solutions like modpagespeed? Or write everything yourself :) as always, the era of frameworks and sweet code.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Batishchev, 2018-05-10
@z0rg

How do you think it should be cached? Just telepathically? "Warm up" the cache and you will be happy.

A
Artem Spiridonov, 2018-05-10
@customtema

Or write everything yourself :)

5 lines in bash - is it a terrible "all by yourself"? Then yes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question