#Remix-i18next cache question

1 messages · Page 1 of 1 (latest)

soft isle
#

Hey all, when using remix-i18next, I've noticed a trend that when I make a change to the main.json and do a deploy, since the browser caches the main.json, it will load the cached and outdated file, causing things like {{name}} to appear on the screen instead of the actual name.

tl;dr: Is there a way to reliably bust the browser main.json cache when the main.json file changes after a deploy?

pale gull
#

Same happens to me. I don't now if there is a better solution but what I do is to set a defaultValue like this
placeholder={t('prompt.placeholder', { ns: 'explore-subspaces', defaultValue: 'Write something here' })}
that matches with the desired translation value