-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
i18n assets need to be cache busted #4136
Comments
I've dialed down the caching on the webserver for /i18n in theory, but it's still causing problems, as per #4115 |
home page is covered by #4239 |
I looked briefly at doing this. The situation is as follows: The (a) is unattractive due to the requirement to add another build step, and because it will be a Right Pain (TM) to get it to work under the webpack dev server. We'd also have to get the URL for the language files back into the main bundle somehow, which is somewhat circular. I'm not keen on this option. So I looked into (b). The trouble with webpack is that there are 15 ways to skin any given cat, none of which work. Here are some things I tried:
At that point I ran out of battery and went to bed. To me the final approach (using file-loader) looks most promising, but we might have to patch file-loader. |
Fixed in #8710 |
Currently they are blindly copied to /i18n and /home respectively. Instead they should be put into a bundle/$hash subdirectory or something.
The text was updated successfully, but these errors were encountered: