DB is loaded from network, if fails, from cache, if it keeps failing,
from assets.