Skip to content

Preload static data at runtime#2

Open
Suhaibinator wants to merge 1 commit intomainfrom
codex/implement-static-data-caching-strategy
Open

Preload static data at runtime#2
Suhaibinator wants to merge 1 commit intomainfrom
codex/implement-static-data-caching-strategy

Conversation

@Suhaibinator
Copy link
Collaborator

Summary

  • add a startup script that caches API data
  • load cached data through new helper module
  • run the preload script automatically in Docker
  • mark pages that depend on API data as dynamic

Testing

  • npm run lint (fails: next not found)
  • npm run build (fails: next not found)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant