1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/server/build
Arunoda Susiripala 6979e35947 Add content based HASH to main.js and common.js (#1336)
* Use file hashes instead of BUILD_ID.
Now JSON pages also not prefixed with a hash and
doesn't support immutable caching.
Instead it supports Etag bases caching.

* Remove appUpdated Router Events hook.
Becuase now we don't need it because there's no buildId validation.

* Remove buildId generation.

* Turn off hash checks in the dev mode.

* Update tests.

* Revert "Remove buildId generation."

This reverts commit fdd36a5a0a307becdbd1d85ae3881b3a15b03d26.

* Bring back the buildId validation.

* Handle buildId validation only in production.

* Add BUILD_ID to path again.

* Remove duplicate immutable header.

* Fix tests.
2017-03-07 10:43:56 -08:00
..
babel Changes hard-coded module aliases to be relative (#1164) 2017-02-16 07:37:29 +05:30
loaders Run tests in Travis. (#1247) 2017-02-22 23:38:49 +05:30
plugins Fixed some problems with standard (#1331) 2017-03-02 22:46:16 +01:00
clean.js build on tmp dir (#1150) 2017-02-15 10:03:33 -03:00
index.js Add content based HASH to main.js and common.js (#1336) 2017-03-07 10:43:56 -08:00
replace.js Fix "EXDEV: cross-device link not permitted" error (#1174) 2017-02-16 15:16:02 +01:00
root-module-relative-path.js Fix relative module aliases for Windows (#1249) 2017-02-24 04:49:34 +05:30
webpack.js Add default entries to main.js (#1343) 2017-03-04 17:29:35 -08:00