This function doesn't need to be in the controller at all.
Hey kids, caching is cool