initialize cache when it doesn't exist yet