How to invalidate client-side cache

I have a server call that can potentially update many documents at once. Assuming I return a list of the affected documents, what would be the best way to invalidate any client-side copies in frappe.locals?

frappe.model.remove_from_locals([doctype], [name]);