Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please, bring back the --delay option #1545

Open
posti85 opened this issue May 3, 2024 · 3 comments
Open

Please, bring back the --delay option #1545

posti85 opened this issue May 3, 2024 · 3 comments

Comments

@posti85
Copy link

posti85 commented May 3, 2024

I have seen in the 1.0.0-alpha version the --delay option is missing, and the current suggestion is using the browser network throtling feature:

Notable differences with v0.17
...
use Chrome's Network tab > throtling to delay requests instead of --delay CLI option

The main problem with this approach is that, while we are testing our frontend application in the browser, EVERY request will be delayed (which includes styles, js chunks, fonts...) and in some cases it is tedious when we are dealing with a big application.

We usually only want to delay those requests related to backend, for example, for testing wether our frontend app is preapared to give a good loading/processing feedback while it is performing a backend request. The typical use case is having a slow backend which takes times to reply, but not always the network connection is slow.

So my suggestion is bringing back the --delay option. Make it available and optional like it was before, so the user decides to use it or not.

@posti85 posti85 changed the title Please, bring back the --delay option Please, bring back the --delay option May 3, 2024
@piotr-jura-udemy
Copy link

I second this.

@ArthurWillameBr
Copy link

ArthurWillameBr commented May 21, 2024

This very necessary

@RuRu92
Copy link

RuRu92 commented Nov 10, 2024

Yes, we need this back !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants