-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Use HEAD req for isUrlOk check #14994
Merged
Timer
merged 3 commits into
vercel:canary
from
cristiand391:use-head-method-for-url-check
Jul 9, 2020
Merged
Use HEAD req for isUrlOk check #14994
Timer
merged 3 commits into
vercel:canary
from
cristiand391:use-head-method-for-url-check
Jul 9, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cristiand391
requested review from
ijjk,
lfades,
Timer and
timneutkens
as code owners
July 8, 2020 20:01
ijjk
added
the
create-next-app
Related to our CLI tool for quickly starting a new Next.js application.
label
Jul 8, 2020
timneutkens
approved these changes
Jul 9, 2020
ijjk
approved these changes
Jul 9, 2020
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
buildDuration | 14s | 13.7s | -246ms |
nodeModulesSize | 66.1 MB | 66.1 MB | ✓ |
Page Load Tests Overall increase ✓
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.474 | 2.411 | -0.06 |
/ avg req/sec | 1010.54 | 1036.97 | +26.43 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.638 | 1.623 | -0.01 |
/error-in-render avg req/sec | 1526.45 | 1540.38 | +13.93 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..e4a8.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.72 kB | 5.72 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.1 kB | 7.1 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.4 kB | 26.4 kB | ✓ |
Overall change | 26.4 kB | 26.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 961 B | 961 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode
General
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
buildDuration | 14.7s | 14.6s | -91ms |
nodeModulesSize | 66.1 MB | 66.1 MB | ✓ |
Client Bundles (main, webpack, commons)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..e4a8.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.72 kB | 5.72 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.1 kB | 7.1 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.4 kB | 26.4 kB | ✓ |
Overall change | 26.4 kB | 26.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 877 kB | 877 kB | ✓ |
link.js | 916 kB | 916 kB | ✓ |
routerDirect.js | 909 kB | 909 kB | ✓ |
withRouter.js | 910 kB | 910 kB | ✓ |
Overall change | 4.5 MB | 4.5 MB | ✓ |
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
buildDuration | 13.3s | 13.4s | |
nodeModulesSize | 66.1 MB | 66.1 MB | ✓ |
Page Load Tests Overall increase ✓
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.272 | 2.206 | -0.07 |
/ avg req/sec | 1100.39 | 1133.44 | +33.05 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.528 | 1.524 | 0 |
/error-in-render avg req/sec | 1635.78 | 1640.2 | +4.42 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..e4a8.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.72 kB | 5.72 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.1 kB | 7.1 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.4 kB | 26.4 kB | ✓ |
Overall change | 26.4 kB | 26.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 961 B | 961 B | ✓ |
withRouter.html gzip | 945 B | 945 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode
General
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
buildDuration | 14.3s | 16.2s | |
nodeModulesSize | 66.1 MB | 66.1 MB | ✓ |
Client Bundles (main, webpack, commons)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..e4a8.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.72 kB | 5.72 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.1 kB | 7.1 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.4 kB | 26.4 kB | ✓ |
Overall change | 26.4 kB | 26.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | cristiand391/next.js use-head-method-for-url-check | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 877 kB | 877 kB | ✓ |
link.js | 916 kB | 916 kB | ✓ |
routerDirect.js | 909 kB | 909 kB | ✓ |
withRouter.js | 910 kB | 910 kB | ✓ |
Overall change | 4.5 MB | 4.5 MB | ✓ |
rokinsky
pushed a commit
to rokinsky/next.js
that referenced
this pull request
Jul 11, 2020
Co-authored-by: Cristian Dominguez <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #14901
It now makes a HEAD request when checking example's url.