function getRequestServedFromCacheEvent(networkRecord, index) {
  return {
    method: 'Network.requestServedFromCache',
    params: {
      requestId: getBaseRequestId(networkRecord) || `${idBase}.${index}`,
    },
    targetType: 'sessionTargetType' in networkRecord ? networkRecord.sessionTargetType : 'page',
    sessionId: networkRecord.sessionId,
  };
}
@param {Partial<NetworkRequest>} networkRecord
@return {LH.Protocol.RawEventMessage}