Closed AugustinMauroy closed 5 months ago
We need to check with the settings. Can we somehow cache the object or do we really need to reread the settings over and over again?
So the schema can validate if the settings are correctly entered.
Idk if he can check if valide. But it's allow to have ied auto completion/error.
We need to check with the settings. Can we somehow cache the object or do we really need to reread the settings over and over again?
I didn't get your message
So the schema can validate if the settings are correctly entered.
Idk if he can check if valide. But it's allow to have ied auto completion/error.
We need to check with the settings. Can we somehow cache the object or do we really need to reread the settings over and over again?
I didn't get your message
Yeah great. I meant that getMessage will always read the settings.json, parse it and the parsed settings are then added in the NextJS server component. Can we somehow cache the settings.json file in a JavaScript object that is then injected in the next app?
Yeah great. I meant that getMessage will always read the settings.json, parse it and the parsed settings are then added in the NextJS server component. Can we somehow cache the settings.json file in a JavaScript object that is then injected in the next app?
Yeah. each time you call the function getSettings
node will read file. But keep as mind Nextjs cache page/route so manifest.ts
output is normally cache
Yeah great. I meant that getMessage will always read the settings.json, parse it and the parsed settings are then added in the NextJS server component. Can we somehow cache the settings.json file in a JavaScript object that is then injected in the next app?
Yeah. each time you call the function
getSettings
node will read file. But keep as mind Nextjs cache page/route somanifest.ts
output is normally cache
Oh that's nice. Then there is nothing to complain about. Feel free to merge.
Description
Adding basic of PWA for etherpad
Related Issues
No related issues
Check List
npx turbo format
npx turbo type-check
npx turbo build