adding cache loader