- 21 7月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
-
- 03 4月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Rename unstable GSP revalidate field * Update error message * Tweak error message some more * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 29 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
-
- 28 2月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Rename getServerProps to getServerSideProps * Remove unstable_ prefix from new methods * Add error when legacy methods are detected * Add legacy methods for babel transform * Add unstable_getServerSideProps also * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Update types import Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 11 11月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Update `packages/` * Update examples * Update tests * Update bench * Update top level files * Fix build * trigger
-
- 01 11月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add handling for exportTrailingSlash for iSSG pages * Update index.test.js
-
- 26 10月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Ensure directory before flushing cache iSSG file * Add test for prerender cache flush * Nest the dynamic route test one more level * update fetch for test * Update error check
-
- 24 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* initial commit for SPRv2 * Add initial SPR cache handling * update SPR handling * Implement SPR handling in render * Update tests, handle caching with serverless next start, add TODOs, and update manifest generating * Handle no prerender-manifest from not being used * Fix url.parse error * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Replace set with constants in next-page-config * simplify sprStatus.used * Add error if getStaticProps is used with getInitialProps * Remove stale TODO * Update revalidate values in SPR cache for non-seeded routes * Apply suggestions from code review * Remove concurrency type * Rename variable for clarity * Add copying prerender files during export * Add comment for clarity * Fix exporting * Update comment * Add additional note * Rename variable * Update to not re-export SPR pages from build * Hard navigate when fetching data fails * Remove default extension * Add brackets * Add checking output files to prerender tests * Adjust export move logic * Clarify behavior of export aggregation * Update variable names for clarity * Update tests * Add comment * s/an oxymoron/contradictory/ * rename * Extract error case * Add tests for exporting SPR pages and update /_next/data endpoint to end with .json * Relocate variable * Adjust route building * Rename to unstable * Rename unstable_getStaticParams * Fix linting * Only add this when a data request * Update prerender data tests * s/isServerless/isLikeServerless/ * Don't rely on query for `next start` in serverless mode * Rename var * Update renderedDuringBuild check * Add test for dynamic param with bracket * Fix serverless next start handling * remove todo * Adjust comment * Update calculateRevalidate * Remove cache logic from render.tsx * Remove extra imports * Move SPR cache logic to next-server * Remove old isDynamic prop * Add calling App getInitialProps for SPR pages * Update revalidate logic * Add isStale to SprCacheValue * Update headers for SPR * add awaiting pendingRevalidation * Dont return null for revalidation render * Adjust logic * Be sure to remove coalesced render * Fix data for serverless * Create a method coalescing utility * Remove TODO * Extract send payload helper * Wrap in-line * Move around some code * Add tests for de-duping and revalidating * Update prerender manifest test
-
- 12 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add checking for hybrid AMP during static check * Update to always hit server for prerender data * Add removing of SPR code when not used * Add checking for hybrid AMP during static check * Update to always hit server for prerender data * Add removing of SPR code when not used * Update dead code elimination
-
- 07 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Revert "Remove Old Prerender Implementation (#8218)" This reverts commit 2ab300dd. * Add contentHandler for page config * Rename config from contentHandler to re-use experimentalPrerender * Remove un-needed changes * Replace backslashes for manifest * Update manifest output format * Make prerender: true enable SPR behavior and update to merge prerender-manifest for flying-shuttle * Fix output path for / prerender file * Add dynamic routes to test suite * Add generating and previewing of skeletons for prerendered dynamic routes * remove inline prerender option * update to not replace getInitialProps which allows nested getInitialProps and add query when fetching prerender * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Remove legacy prerender option * Apply suggestions from review * Apply more suggestions from review * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Add handling of error when parsing json * Update handling of moving exported pages * Rename nextPreviewSkeleton to _nextPreviewSkeleton * bump
-