initialize cache