new cache approach (from now sqlite is mandatory)