Answer the question
In order to leave comments, you need to log in
How to slow down Nginx to test the frontend for slow connections?
Testing and optimizing the frontend with a bunch of scripts. You need to see how the page will behave with slow connections. Current solution: in chrome/opera inspector, Network throttling section. Enough for the first time, but there are still mobile devices that behave differently in real life than in the simulator.
I have Nginx on my work laptop. I'm looking for a way to slow down the return of static at the Nginx settings / modules level. As a solution, you can give statics through a special script, for example, in php, but suddenly it can be more beautiful.
Can you please tell me if there is an elegant way?
Answer the question
In order to leave comments, you need to log in
For such purposes, I once used https://github.com/d6y/sloppy
However, at some point, there may have been incompatibilities with Java versions, etc., so I can’t say anything today
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question