Update controller to set Cache-Control header since it should always be safe to cache successful calculations