actually set cache