nitrojs / nitrojs/nitro

prepopulate cache during prerendering

Open
#2,016 2 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cache discussion enhancement prerender v2
Dominant language
TypeScript
Stars
11.2k
Forks
899
Avg merge
2d 24m
Merged PRs (30d)
40

Description

Context: https://github.com/nuxt/nuxt/issues/24828

The idea is to prerender some routes but instead of writing them directly to output/public as static HTML files, use it to repopulate cache and use bundled storage to ship it to production. This way they can be updated on demand in production (something kinda similar to Vercel's ISR)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Nuxt issue linked in the context and trace the existing prerendering path that writes routes to output/public. Define how bundled storage should repopulate cache and how on-demand production updates should work; done means prerendered routes ship in that cache, are served from it, and can be refreshed after deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.