You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: This command will check the current version of "wrangler" instead of executing it directly in the printWranglerBanner() function
Motivation: This command will increase the speed of executing subcommands rather than checking the latest version directly every time. This will reduce internet data load for local users
Alternatives Considered: If it is not possible to add this command. Can we cache the updateCheck() version for some time? For example once a day?
I think features like this are very crucial. However, if we check the latest version every time we run a command, for example "wrangler whoami", it will feel very slow, especially for users who have slow/limited internet data.
Describe the solution
I think features like this are very crucial. However, if we check the latest version every time we run a command, for example "wrangler whoami", it will feel very slow, especially for users who have slow/limited internet data.
workers-sdk/packages/wrangler/src/update-check.ts
Line 8 in 8890c5b
workers-sdk/packages/wrangler/src/update-check.ts
Line 43 in 8890c5b
Thankyou
The text was updated successfully, but these errors were encountered: