code: private function isRequestPrivate(Request $request): bool
      {
          if ($request->headers->has('Authorization')) {
              return true;
          }
  
          if (\count($request->cookies->all())) {
              return true;
          }
  
          return false;
      }
docs: Checks if the Request includes authorization or other sensitive information
  that should cause the cache to be bypassed.