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

Clean up NextJS build artifact #71

Closed
ejmg opened this issue Mar 12, 2024 · 1 comment
Closed

Clean up NextJS build artifact #71

ejmg opened this issue Mar 12, 2024 · 1 comment
Labels
new feature New feature or request server

Comments

@ejmg
Copy link
Collaborator

ejmg commented Mar 12, 2024

Related: #27

As of now, the NextJS build emits a series of errors related to its aggressive caching and the heuristics it tries to employ in determining which pages and routes can be cached. This is what causes the deployment logs to be spammed with API endpoint logging because NextJS literally runs API endpoints in the process of determining what can and cannot be cached.

It would be better that either these routes explicitly declare themselves as not being cached or to rework them to be cache friendly (e.g., don't use request.url and instead rely on passing request params in the body of POST requests, etc). Either way, this would make deployment logs a lot less noisy.

@ejmg ejmg added new feature New feature or request server labels Mar 12, 2024
@ejmg
Copy link
Collaborator Author

ejmg commented Jul 30, 2024

Closed by #153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request server
Projects
Status: Done
Development

No branches or pull requests

1 participant