This is nitpicky on my part, but how about doing:

    controller_class = controller_class or CacheController