mozilla-appmaker/appmaker — pull request #1997 by Pomax (2014-08-15 20:55:51+00:00)
Title: better locale loading?

This now turns on/off session locale caching based on whether or not the node instance is running in PRODUCTION mode or not. If not, it'll turn off any form of caching and each component will reload /strings every time its built, to ensure the most up to date locale strings with a minimum of reloading necessary. if PRODUCTION is used, it is assumed this is a stable platform release and the locale strings are cached for as long as the user's browser is open on the appmaker site. This also means component placement is a lot faster under production rules because they're not constantly XHR-ing a new string local file