improved core extension & simplified cache api