Re #133: Read app config from db once per request, and cache.