next.js/test/e2e/app-dir/app-static/app/force-no-store-bailout/page.js
page.js17 lines352 B
export const fetchCache = 'force-no-store'

export default async function Page() {
  // this should not be invoked during build as
  // no-store should have it bail out
  await fetch('https://non-existent', {
    cache: 'no-store',
  })

  return (
    <>
      <p id="page">/force-no-store-bailout</p>
      <p id="now">{Date.now()}</p>
    </>
  )
}
Quest for Codev2.0.0
/
SIGN IN