optimize fingerprint cache