angular-localization
angular-localization copied to clipboard
Reload laguage files when content is changed
I;m not sure this is a bug but have no clue how to overcome it. Whenever I add new keys to an existing language file they are not loaded until I hit ctrl+F5, For the development environment there is no problem, but when I release a new versions I cannot instruct the users to hit ctrl_f5 to reload all the files. Is there any method to force reloading?
Hi @ancadogaru this could be related to a caching issue on the browser-side. Instead of making clients refresh (essentially Ctrl + F5 is forcing a reload without the cache) you can set your server HTTP headers for cache control to always expire. You could do this for just JSON files.