Issue #1919700 by damiankloip, tim.plunkett: Replace views_ui_cache_set() with a method on the ViewUI object.