Use caching mechanism to store config files instead of g object. Disable caching of configs during debug.