Pkgdesc = "An App for hosts management & switching. Hope this article gives you clarity on how you can test your applications on slower network or simulate API latency in your app. To add delays to API requests (& AJAX requests) prefer using Client Side delay.To add delays to external resources like CSS, JS etc prefer using Server Side delay.To test your entire application on a slower network, prefer using browser’s network throttling feature.Adding the delay in browser could lead to poor browsing experience when delay is applied to too many requests or it is applied for a large duration.
![switchhosts chrome switchhosts chrome](http://th.affdu.com/uploads/other-domain/wp-content/uploads/2013/12/edit-host-file-using-switchhost.png)
![switchhosts chrome switchhosts chrome](https://img-blog.csdnimg.cn/20181204103109898.png)
Test behaviour of your app when one or more APIs respond slow (API Latency has gone up).
![switchhosts chrome switchhosts chrome](https://raw.githubusercontent.com/zhaoolee/GraphBed/master/images/8230c587c2b08b58b9d07a0358c20b87.png)
Test performance of your web app on a slower condition.Here are some scenarios where you would like to delay the network requests. As a frontend developer or QA, testing certain parts of web applications require you to simulate delay in one or more components of the web app.