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
Arunoda Susiripala 165924b71b Add Gzip support for JSON pages (#571)
* Server JSON pages directly from the filesystem.

* Make Json pages even if there's an error.

* Implement much better page serving.

* Use JsonPagesPlugin in the production mode as well.

* Add gzip support for JSON pages.

* Use glob-promise instead of recursive-readdir

* Handle renderStatic 404 properly.

* Simply the gzip code.

* Cache already read JSON pages.

* Change JSON pages extension to .json.

* Fix HMR related issue.

* Fix hot-reload for .json solely on server.

* Properly clear cache on hot-reloader.

* Convert .js pages into .json page right inside the plugin.

* Fix gzipping .json pages.

* Remove unwanted json pages cleanup.

* Get rid of deprecated fs.exists for fs.access
2016-12-31 21:46:23 +09:00
..
build Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
config.js Add X-Powered-By header. (#416) 2016-12-19 07:27:47 -08:00
document.js make sure to flush styles and head (#459) 2016-12-21 07:57:25 -08:00
hot-reloader.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
index.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
next.js Programmatic API (#310) 2016-12-16 12:33:08 -08:00
read-page.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
render.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
require.js write assets to disk 2016-10-16 04:49:42 +09:00
resolve.js Add Gzip support for JSON pages (#571) 2016-12-31 21:46:23 +09:00
router.js initial source 2016-10-06 08:52:50 +09:00