Skip to content
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

ISR - Nextjs 14.2.17 not saving Static Content on Redis on build time only using cache-handler #74814

Open
joanaavelar opened this issue Jan 13, 2025 · 0 comments

Comments

@joanaavelar
Copy link

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/fervent-resonance-go8s7s

To Reproduce

isr-example.zip

Please use the attached example.

  • Update REDIS_URL from env.local with your Redis instance
  • yarn install
  • yarn build
  • Verify that no key exists for /index in Redis
  • yarn start
  • Go to the browser and open => http://localhost:300/
  • Verify that /index key exists in Redis

Current vs. Expected behavior

I was expecting to have a /index being saved to Redis in build time and not in run time.

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Enterprise
  Available memory (MB): 32401
  Available CPU cores: 12
Binaries:
  Node: 22.4.1
  npm: N/A
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 14.2.17 // An outdated version detected (latest is 15.1.4), upgrade is highly recommended!
  eslint-config-next: 15.1.3
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.7.3
Next.js Config:
  output: standalone
 ⚠ An outdated version detected (latest is 15.1.4), upgrade is highly recommended!
   Please try the latest canary version (`npm install next@canary`) to confirm the issue still exists before creating a new issue.
   Read more - https://nextjs.org/docs/messages/opening-an-issue

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

next build (local)

Additional context

I am using as cache handler @neshca/cache-handler.

@joanaavelar joanaavelar added the bug Issue was opened via the bug report template. label Jan 13, 2025
@samcx samcx removed the bug Issue was opened via the bug report template. label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants