Replies: 1 comment
-
Doing it like this seems to work:
The files are now getting updated only around the given expirationTime. Would calling reloadResources have any downside? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi!
I just recently switched to next-i18next and I'm using server side caching with FSBackend and getting the translations with CalingaBackend.
It works like a charm for the initial loading, but when I specify an expirationTime for FSBackend it never seems to validate this. As far as I've seen in FSBackend this should be checked each time when the read function is called, but this never seems to happen?
Could somebody please help me with this problem?
My next-i18next.config.js is a folder that looks like this:
It's used like this:
Beta Was this translation helpful? Give feedback.
All reactions