RFC - App-wide shared static/stale data #335
Unanswered
Vadorequest
asked this question in
Show and tell
Replies: 2 comments 2 replies
-
Similar optimization has been implemented for i18n (Locize) too: #337 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've encountered more issues, especially with larger datasets (our own private app):
I'll disable the plugin during development, it's a shame but I don't see a better alternative until it's fixed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've implemented #334 today
It has a few benefits, especially around build optimizations, and also only generates the necessary pages (for actives languages) instead of generating all pages for all languages no matter what.
It also has a few considerations, I've found the plugin to make the app much less resilient to changes, and provide quite a bad dev experience on some troubling code issues, see ricokahler/next-plugin-preval#26
Overall, I like the changes, but I'm concerned about maintainability. It's an optimization I've wanted to do for more than a year, I hope the
next-plugin-preval
improves and fixes those developer-facing issues.Don't hesitate to share your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions