Consider wrapping ``benefits`` in another class to encapsulate the cache management and keep it out of the view function, which can focus on just preparing data for the template.