I tried to use the cache with nested eager loading, but didn't cache that part of the query:
$query->with(['feedback.profile' => function ($query) {
//Cache
$cacheTime = 60;
$query->remember($cacheTime);
}]);
It does however work with a simple eager loading:
$query->with(['feedback' => function ($query) {
//Cache
$cacheTime = 60;
$query->remember($cacheTime);
}]);