I need a piece of advice on PerformanceResourceTiming
Your question
Hello the Sitespeed team!
I'm working on custom metrics. I have added PerformanceResourceTiming based custom metrics, like:
- https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming#typical_resource_timing_metrics
- plus custom metrics for each block from the diagram https://mdn.github.io/shared-assets/images/diagrams/api/performance/timestamp-diagram.svg
But web browsers doesn't support the PerformanceResourceTiming specification for all use cases. The caching is a corner case for the PerformanceResourceTiming
Caching in Mozilla and Chrome for the initiatorType == "img"
Mozilla Firefox 139.0.4 and Chrome 137.0.7 fill a few fields for cached responses:
- startTime
- fetchStart
- responseEnd
- duration but the fields will be empty:
- connectEnd: 0
- connectStart: 0
- decodedBodySize: 0
- domainLookupEnd: 0
- domainLookupStart: 0
- encodedBodySize: 0
- redirectEnd: 0
- redirectStart: 0
- requestStart: 0
- responseStart: 0
- responseStatus: 0
- secureConnectionStart: 0
- transferSize: 0
- workerStart: 0
How to collect intervals?
Can I use a workaround
const entries = performance.getEntriesByType("resource");
for(const entry of entries) {
if(entry.entryType == "resource") {
let Redirect, ServiceWorker, HTTP_Cache, DNS, TCP, TLS, Interim_Request, Request, Response;
if(entry.initiatorType == "img") {
if(entry.transferSize == 0) {
Redirect = 0.0;
ServiceWorker = 0.0;
HTTP_Cache = entry.duration;
DNS = 0.0;
TCP = 0.0;
TLS = 0.0;
Interim_Request = 0.0;
Request = 0.0;
Response = 0.0;
} else {
Redirect = entry.redirectEnd - entry.redirectStart;
ServiceWorker = entry.fetchStart - entry.workerStart;
HTTP_Cache = 0.0;
DNS = entry.domainLookupEnd - entry.domainLookupStart;
if(entry.secureConnectionStart >= entry.domainLookupEnd) {
TCP = entry.secureConnectionStart - entry.domainLookupEnd;
TLS = entry.requestStart - entry.secureConnectionStart;
} else {
TCP = entry.requestStart - entry.domainLookupEnd;
TLS = 0.0;
}
if(entry.firstInterimResponseStart && entry.finalResponseHeadersStart) {
Interim_Request = entry.firstInterimResponseStart - entry.finalResponseHeadersStart;
} else {
Interim_Request = 0.0;
}
Request = entry.responseStart - entry.requestStart;
Response = entry.responseEnd - entry.responseStart;
}
} else ... {
...
}
}
}
Is it correct? In this case I use HTTPS only web sites?
Do you know about other corner cases with empty PerformanceResourceTiming fields?
Mozilla Firefox 139.0.4 use transferSize == 0 for requests with
(entryType == "resource" || entryType == "other") && initiatorType == "fetch"
where the request domain name !== the domain dane of the main page
for example the page: https://youtrack.jetbrains.com/issue/IDEA-344251
All requests to the domains:
- https://hub.jetbrains.com/
- ... but not for the domain youtrack.jetbrains.com has zero transfer size:
const schema = performance.getEntries("navigation")[0].name.split("/")[0];
const domain = performance.getEntries("navigation")[0].name.split("/")[2];
const mainPrefix = `${schema}//${domain}`;
const entries = performance.getEntriesByType("resource");
for(const entry of entries) {
if(entry.entryType == "resource") {
if(entry.initiatorType == "other" || entry.initiatorType == "fetch") {
if(entry.name.includes(mainPrefix)) {
if(entry.transferSize == 0) {
console.log(`Request to the main domain with caching: ${entry.name}`);
} else {
console.log(`Common request to the main domain: ${entry.name}`);
}
} else {
if(entry.transferSize == 0) {
console.log(`*** It is not true, it is an error: ${entry.name}`);
} else {
console.log(`*** Uniq request with the real transferSize : ${entry.name}`);
}
}
}
}
}
The result for the page https://youtrack.jetbrains.com/issue/IDEA-344251 in Mozilla
Request to the main domain with caching: https://youtrack.jetbrains.com/manager/apple-touch-icon.png?9e7dc0c36f153e07c9878397eca2a20e?9e7dc0c36f153e07c9878397eca2a20e
Request to the main domain with caching: https://youtrack.jetbrains.com/manager/icon.svg?68d08c78771bd20bcc4b154b3ce9e10f?68d08c78771bd20bcc4b154b3ce9e10f
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/users/me?fields=guest,id,name,login,profile%2Favatar%2Furl,profile%2Femail,profile%2Favatar%2Ftype,requiredTwoFactorAuthentication,twoFactorAuthentication%2Fenabled,webauthnDevice%2Fenabled,userType%2Fid
Common request to the main domain: https://youtrack.jetbrains.com/api/users/me?$top=-1&fields=profiles(appearance(uiPickerSeen,uiTheme,expandNavigation,showTooltips),general(locale(language,locale)),helpdesk(helpdeskFolder(id),isReporter),timetracking(isTimeTrackingAvailable)),featureFlags(id,enabled),guest,widgets(appIconPath,appDarkIconPath,appId,appName,key,collapsed,extensionPoint,id,indexPath,name)
*** It is not true, it is an error: https://o245151.ingest.us.sentry.io/api/4508801145241600/envelope/?sentry_version=7&sentry_key=e66b52a4c1eadb59cd839b967dc08a3f&sentry_client=sentry.javascript.react%2F9.1.0
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/users/me?fields=guest,endUserAgreementConsent(accepted,majorVersion,minorVersion)
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/settings/public?fields=endUserAgreement(enabled,text,majorVersion,minorVersion,requiredForREST)
Common request to the main domain: https://youtrack.jetbrains.com/api/permissions/cache?fields=global,permission(key),projects(id,projectType(id))
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/prosemirror.82fda53b.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/grazie-client.dcdf6b24.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7119.2e340990.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7730.01eb25cb.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/755.da34d1b4.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/6679.f6be913c.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/8661.52774716.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/958.23c216d4.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7920.79db6100.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/3183.8cc31142.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/6443.47b77bf6.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/2711.2605229a.js
Common request to the main domain: https://youtrack.jetbrains.com/api/users/me/profiles/analytics?fields=analyticsId&ignoreLicenseErrors=true
Common request to the main domain: https://youtrack.jetbrains.com/api/admin/timeTrackingSettings/workTimeSettings?fields=minutesADay,minutesADayPresentation,workDays,firstDayOfWeek,daysAWeek
Common request to the main domain: https://youtrack.jetbrains.com/api/config?$top=-1&fields=banners(globalBanner,globalBannerEnabled,systemEventsBanners)
Common request to the main domain: https://youtrack.jetbrains.com/api/users/me?$top=-1&fields=id,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups),profiles(general(locale(id,community,language,locale,name),dateFieldFormat(pattern,datePattern),star(id),lastCreatedIssue(project(id,shortName)),timezone(id),searchContext(%40helpdeskContext),helpdeskContext(%40helpdeskContext),semanticSearchForArticles),articles(showComments,showInlineComments,showHistory,queryMode,lastVisitedArticle(id,idReadable,reporter(%40permittedUsers),summary,project(id,ringId,name,shortName,projectType(id),pinned,iconUrl,template,archived,hasArticles,isDemo,sourceTemplate,fieldsSorted,query,issuesUrl,restricted,leader(%40permittedUsers),creationTime,widgets(%40widgets),plugins(timeTrackingSettings(id,enabled),helpDeskSettings(id,defaultForm(uuid,title)),vcsIntegrationSettings(hasVcsIntegrations),grazie(disabled))),parentArticle(idReadable),ordinal,visibility($type,implicitPermittedUsers(%40permittedUsers),permittedGroups(%40permittedGroups),permittedUsers(%40permittedUsers)),hasUnpublishedChanges,hasChildren,tags(id,name,color(id,background,foreground),isDeletable,isUpdatable,isUsable),hasStar),articleFilters),timetracking(periodFieldPattern,periodFormat(id),isTimeTrackingAvailable,ownTimesheets),tips(aiTipsShown,surveyShown,pmfShown,textRecognitionTipsShown,aiPromoShown,inlineCommentPromoShown,textRecognitionPromoShown,commandWindowTipShown,commandWindowSilentTipShown,changeRuleTypeTipShown,resolvedCommentsTipShown,articlesFullWidthViewTipShown,helpdeskPinnedCommentsTipShown,issueListSettingsTipShown,aiWritingAssistantPromoShown,appsProjectTabTipShown,sidebarToggleTipShown),appearance(showTooltips,showRecentEntities,showSidebarResizerTip,showToolbar,showInlineEditorToolbar,useMarkdownEditor,useSummaryInIssueLinks,showQuickView,lastUsedColor,liteUiFilters,quickViewColumns,nonQuickViewColumns,firstDayOfWeek,naturalCommentsOrder,showCommentsInActivityStream,showVcsChangesInActivityStream,showWorkItemsInActivityStream,showHistoryInActivityStream,expandChangesInActivityStream,useAbsoluteDates,showSimilarIssues,exceptionsExpanded,knowledgeBaseSidebarWidth,sivSidebarWidth,quickViewSidebarWidth,modalSidebarWidth,issueListSidebarWidth,quickViewWidth,showKnowledgeBaseSidebar,showSIVSidebar,attachmentsCollapsed,showPropertiesOnTheLeft,showLinksUnderDescription,openCwOnTyping,compactMode,recognizedTextSidebarExpanded,attachmentsSorting,hideEmbeddedAttachments,hideCommentAttachments,attachmentsListLayout,expandNavigation,issuesTableViewMode,sidebarQuickViewMode),issuesList(showSidebar,unresolvedIssuesOnly,queryMode,issueListView(treeView,treeViewCollapsed,detailLevel),sortTextByRelevance,projectsExpanded,savedSearchesExpanded,tagsExpanded),helpdesk(isAgent,isReporter,agentInProjects(id),reporterInProjects(id),quickViewTicketColumns,noQuickViewTicketColumns,ticketFilters),notifications(emailNotificationsEnabled)),featureFlags(id,enabled),widgets(%40widgets)%3B%40widgets%3Aid,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId%3B%40helpdeskContext%3Aid,name,issuesUrl,pinned,pinnedInHelpdesk,owner(%40permittedUsers),$type,query,isUpdatable,shortName%3B%40permittedUsers%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id)%3B%40permittedGroups%3Aid,name,ringId,allUsersGroup,$type(),icon,teamForProject(name,shortName)
Common request to the main domain: https://youtrack.jetbrains.com/api/admin/globalSettings?fields=restSettings(allowAllOrigins,allowedOrigins),imageTextRecognitionSettings(enabled),systemSettings(ocrSupported)
Common request to the main domain: https://youtrack.jetbrains.com/api/users/me/profiles/grazie?fields=hasMoreTokens,enabled,excludedIssueTypes,cycleRestart,enableSpellChecker,spellCheckerEnabledInSystem,freeLicense
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/settings/public?fields=helpdeskEnabled
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/6090.646aa1cc.js
Common request to the main domain: https://youtrack.jetbrains.com/api/admin/widgets/general?fields=id,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId&$top=-1
Common request to the main domain: https://youtrack.jetbrains.com/api/permissions/cache?fields=id,global,projects(id,projectType(id))
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/6410.e78a35eb.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7535.f95476f5.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/5743.7df49880.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/1602.531087a1.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/9432.35f12d0b.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/304.dc49ad61.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/1833.fcb71fff.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/1276.670fd172.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/1688.0a60e00e.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/1272.5c1b1f34.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/6043.72a196df.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/4317.e7c18c02.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/600.0f71fbff.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7873.c178a6a8.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7055.345a3d28.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/2343.0f1134a2.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/9890.ccea388b.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/2570.2d262e1a.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/5365.996ef884.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/4736.bf4381cc.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/9041.f417784b.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/6245.eeedca69.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/ticket.fdb2552f.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/906.5cf1a7e2.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/7811.2857685f.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/new-ticket.31861752.js
Request to the main domain with caching: https://youtrack.jetbrains.com/static/simplified/1428.f970218a.js
Common request to the main domain: https://youtrack.jetbrains.com/api/issueLinkTypes?fields=id,directed,aggregation,sourceToTarget,targetToSource,localizedSourceToTarget,localizedTargetToSource
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251?$top=-1&fields=description,updater(%40updater),creator(%40updater),attachments(%40attachments),workItems(id,author(%40permittedUsers),creator(%40permittedUsers),text,type(%40value),duration(minutes,presentation),textPreview,created,updated,date,usesMarkdown,attributes(id,name,value(%40value))),usesMarkdown,hasEmail,wikifiedDescription,messages,fields(%40fields),tags(id,name,color(%40color),isDeletable,isUpdatable,isUsable,query,issuesUrl,isShareable,pinnedByDefault,pinned,pinnedInHelpdesk,untagOnResolve,owner(%40permittedUsers),readSharingSettings(%40updateSharingSettings),tagSharingSettings(%40updateSharingSettings),updateSharingSettings(%40updateSharingSettings),sortOrder(isSortable)),pinnedComments(author(%40permittedUsers),id,text,textPreview,deleted,pinned,visibility(%40visibility),attachments(%40attachments),reactions(%40reactions),reactionOrder,usesMarkdown,hasEmail,canUpdateVisibility,suspiciousEmail,created,updated,mentionedUsers(%40updater),mentionedIssues(%40mentionedIssues),mentionedArticles(%40mentionedArticles),issue(id,project(id)),markdownEmbeddings(%40markdownEmbeddings)),canUpdateVisibility,canAddPublicComment,widgets(%40widgets),externalIssue(key,name,url),summaryTextSearchResult(%40textSearchResult),descriptionTextSearchResult(%40textSearchResult),channel(id,name,$type,mailboxRule(id)),aiSuggestions(comment(id,draft(id,text,textPreview,deleted,pinned,visibility(%40visibility),attachments(%40attachments),reactions(%40reactions),reactionOrder,usesMarkdown,hasEmail,canUpdateVisibility,suspiciousEmail,created,updated,mentionedUsers(%40updater),mentionedIssues(%40mentionedIssues),mentionedArticles(%40mentionedArticles),issue(id,project(id)),markdownEmbeddings(%40markdownEmbeddings))),duplicates(id,issues(%40mentionedIssues),duplicatesRoot(%40mentionedIssues))),id,idReadable,summary,reporter(%40updater),resolved,updated,created,unauthenticatedReporter,project(%40project),visibility(%40visibility),votes,voters(hasVote),watchers(hasStar),usersTyping(%40usersTyping),canUndoComment,mentionedUsers(%40updater),mentionedIssues(%40mentionedIssues),mentionedArticles(%40mentionedArticles),markdownEmbeddings(%40markdownEmbeddings)%3B%40mentionedIssues%3Aid,idReadable,summary,reporter(%40updater),updater(%40updater),resolved,updated,created,unauthenticatedReporter,fields(%40fields),project(%40project),visibility(%40visibility),tags(%40tags),votes,voters(hasVote),watchers(hasStar),usersTyping(%40usersTyping),canUndoComment%3B%40mentionedArticles%3Aid,idReadable,reporter(%40permittedUsers),summary,project(%40project),parentArticle(idReadable),ordinal,visibility(%40visibility),hasUnpublishedChanges,hasChildren,tags(%40tags),hasStar%3B%40attachments%3Aid,name,author(id,ringId,avatarUrl,canReadProfile,isLocked,login,name),created,updated,mimeType,url,size,visibility(%40visibility),imageDimensions(width,height),thumbnailURL,recognizedText,searchResults(textSearchResult(highlightRanges(%40textRange))),comment(id,visibility(%40visibility)),embeddedIntoDocument(id),embeddedIntoComments(id)%3B%40fields%3Avalue(id,minutes,presentation,isEstimation,isSpentTime,name,description,localizedName,isResolved,color(%40color),buildIntegration,buildLink,text,ringId,login,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups),allUsersGroup,$type(),icon,teamForProject(name,shortName)),id,$type,hasStateMachine,isUpdatable,projectCustomField($type,id,field(id,name,ordinal,aliases,localizedName,fieldType(id,presentation,isBundleType,valueType,isMultiValue)),bundle(id,$type),canBeEmpty,emptyFieldText,hasRunningJob,ordinal,isSpentTime,isEstimation,isPublic),visibleOnList,searchResults(id,textSearchResult(%40textSearchResult)),pausedTime%3B%40project%3Aid,ringId,name,shortName,projectType(id),pinned,iconUrl,template,archived,hasArticles,isDemo,sourceTemplate,fieldsSorted,query,issuesUrl,restricted,leader(%40permittedUsers),creationTime,widgets(%40widgets),plugins(timeTrackingSettings(id,enabled),helpDeskSettings(id,defaultForm(uuid,title)),vcsIntegrationSettings(hasVcsIntegrations),grazie(disabled))%3B%40visibility%3A$type,implicitPermittedUsers(%40permittedUsers),permittedGroups(%40permittedGroups),permittedUsers(%40permittedUsers)%3B%40widgets%3Aid,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId%3B%40updateSharingSettings%3ApermittedGroups(%40permittedGroups),permittedUsers(%40permittedUsers)%3B%40updater%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups)%3B%40reactions%3Aid,reaction,author(%40permittedUsers)%3B%40usersTyping%3Atimestamp,user(%40permittedUsers)%3B%40value%3Aid,name,autoAttach,description,hasRunningJobs,color(%40color),attributes(id,timeTrackingSettings(id,project(id)))%3B%40permittedUsers%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id)%3B%40permittedGroups%3Aid,name,ringId,allUsersGroup,$type(),icon,teamForProject(name,shortName)%3B%40tags%3Aid,name,color(%40color),isDeletable,isUpdatable,isUsable%3B%40textSearchResult%3AhighlightRanges(%40textRange),textRange(%40textRange)%3B%40color%3Aid,background,foreground%3B%40markdownEmbeddings%3Akey,settings,widget(id)%3B%40textRange%3AstartOffset,endOffset
Common request to the main domain: https://youtrack.jetbrains.com/api/users/me/profiles/appearance
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251/sseSubscription?fields=ticket
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251?fields=draftComment(id,text,textPreview,deleted,pinned,visibility(%40visibility),attachments(id,name,author(id,ringId,avatarUrl,canReadProfile,isLocked,login,name),created,updated,mimeType,url,size,visibility(%40visibility),imageDimensions(width,height),thumbnailURL,recognizedText,searchResults(textSearchResult(highlightRanges(%40textRange))),comment(id,visibility(%40visibility)),embeddedIntoDocument(id),embeddedIntoComments(id)),reactions(id,reaction,author(%40permittedUsers)),reactionOrder,usesMarkdown,hasEmail,canUpdateVisibility,suspiciousEmail,created,updated,mentionedUsers(%40updater),mentionedIssues(id,idReadable,summary,reporter(%40updater),updater(%40updater),resolved,updated,created,unauthenticatedReporter,fields(value(id,minutes,presentation,isEstimation,isSpentTime,name,description,localizedName,isResolved,color(%40color),buildIntegration,buildLink,text,ringId,login,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups),allUsersGroup,$type(),icon,teamForProject(name,shortName)),id,$type,hasStateMachine,isUpdatable,projectCustomField($type,id,field(id,name,ordinal,aliases,localizedName,fieldType(id,presentation,isBundleType,valueType,isMultiValue)),bundle(id,$type),canBeEmpty,emptyFieldText,hasRunningJob,ordinal,isSpentTime,isEstimation,isPublic),visibleOnList,searchResults(id,textSearchResult(highlightRanges(%40textRange),textRange(%40textRange))),pausedTime),project(%40project),visibility(%40visibility),tags(%40tags),votes,voters(hasVote),watchers(hasStar),usersTyping(timestamp,user(%40permittedUsers)),canUndoComment),mentionedArticles(id,idReadable,reporter(%40permittedUsers),summary,project(%40project),parentArticle(idReadable),ordinal,visibility(%40visibility),hasUnpublishedChanges,hasChildren,tags(%40tags),hasStar),issue(id,project(id)),markdownEmbeddings(key,settings,widget(id)))%3B%40project%3Aid,ringId,name,shortName,projectType(id),pinned,iconUrl,template,archived,hasArticles,isDemo,sourceTemplate,fieldsSorted,query,issuesUrl,restricted,leader(%40permittedUsers),creationTime,widgets(id,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId),plugins(timeTrackingSettings(id,enabled),helpDeskSettings(id,defaultForm(uuid,title)),vcsIntegrationSettings(hasVcsIntegrations),grazie(disabled))%3B%40visibility%3A$type,implicitPermittedUsers(%40permittedUsers),permittedGroups(%40permittedGroups),permittedUsers(%40permittedUsers)%3B%40updater%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups)%3B%40permittedUsers%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id)%3B%40permittedGroups%3Aid,name,ringId,allUsersGroup,$type(),icon,teamForProject(name,shortName)%3B%40tags%3Aid,name,color(%40color),isDeletable,isUpdatable,isUsable%3B%40color%3Aid,background,foreground%3B%40textRange%3AstartOffset,endOffset
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251/watchers/issueWatchers?fields=isStarred,user(id,ringId)&$top=100
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251/sprints?$top=-1&fields=id,name,agile(id,name,sprintsSettings(disableSprints)),archived,finish,start
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251/links?$topLinks=25&fields=id,direction(),linkType(id,directed,aggregation,sourceToTarget,targetToSource,localizedSourceToTarget,localizedTargetToSource),issuesSize,trimmedIssues(id,idReadable,summary,reporter(id,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups)),resolved,fields(value(id,minutes,presentation,isEstimation,isSpentTime,name,description,localizedName,isResolved,color(id,background,foreground),buildIntegration,buildLink,text,ringId,login,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40permittedGroups),allUsersGroup,$type(),icon,teamForProject(name,shortName)),id,$type,hasStateMachine,isUpdatable,projectCustomField($type,id,field(id,name,ordinal,aliases,localizedName,fieldType(id,presentation,isBundleType,valueType,isMultiValue)),bundle(id,$type),canBeEmpty,emptyFieldText,hasRunningJob,ordinal,isSpentTime,isEstimation,isPublic),visibleOnList,searchResults(id,textSearchResult(highlightRanges(%40textRange),textRange(%40textRange))),pausedTime),project(id,ringId,name,shortName,projectType(id),pinned,iconUrl,template,archived,hasArticles,isDemo,sourceTemplate,fieldsSorted,query,issuesUrl,restricted,leader(%40permittedUsers),creationTime,widgets(id,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId),plugins(timeTrackingSettings(id,enabled),helpDeskSettings(id,defaultForm(uuid,title)),vcsIntegrationSettings(hasVcsIntegrations),grazie(disabled))),visibility($type,implicitPermittedUsers(%40permittedUsers),permittedGroups(%40permittedGroups),permittedUsers(%40permittedUsers)),watchers(hasStar))%3B%40permittedUsers%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id)%3B%40permittedGroups%3Aid,name,ringId,allUsersGroup,$type(),icon,teamForProject(name,shortName)%3B%40textRange%3AstartOffset,endOffset&customFields=Priority
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251?$top=-1&fields=allMentions(%40container),mentionedIn(container(%40container),source($type))%3B%40container%3Aid,idReadable,reporter(id,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40issueRelatedGroup)),summary,project(id,ringId,name,shortName,projectType(id),pinned,iconUrl,template,archived,hasArticles,isDemo,sourceTemplate,fieldsSorted,query,issuesUrl,restricted,leader(%40permittedUsers),creationTime,widgets(id,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId),plugins(timeTrackingSettings(id,enabled),helpDeskSettings(id,defaultForm(uuid,title)),vcsIntegrationSettings(hasVcsIntegrations),grazie(disabled))),parentArticle(idReadable),ordinal,visibility($type,implicitPermittedUsers(%40permittedUsers),permittedGroups(%40issueRelatedGroup),permittedUsers(%40permittedUsers)),hasUnpublishedChanges,hasChildren,tags(id,name,color(%40color),isDeletable,isUpdatable,isUsable),hasStar,resolved,fields(value(id,minutes,presentation,isEstimation,isSpentTime,name,description,localizedName,isResolved,color(%40color),buildIntegration,buildLink,text,ringId,login,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40issueRelatedGroup),allUsersGroup,$type(),icon,teamForProject(name,shortName)),id,$type,hasStateMachine,isUpdatable,projectCustomField($type,id,field(id,name,ordinal,aliases,localizedName,fieldType(id,presentation,isBundleType,valueType,isMultiValue)),bundle(id,$type),canBeEmpty,emptyFieldText,hasRunningJob,ordinal,isSpentTime,isEstimation,isPublic),visibleOnList,searchResults(id,textSearchResult(highlightRanges(%40textRange),textRange(%40textRange))),pausedTime),watchers(hasStar)%3B%40permittedUsers%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id)%3B%40issueRelatedGroup%3Aid,name,ringId,allUsersGroup,$type(),icon,teamForProject(name,shortName)%3B%40color%3Aid,background,foreground%3B%40textRange%3AstartOffset,endOffset&customFields=Priority
Common request to the main domain: https://youtrack.jetbrains.com/api/issues/IDEA-344251/activitiesPage?categories=IssueCreatedCategory,CommentsCategory&reverse=true&fields=activities(category(id()),added(id,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),localizedName,numberInProject,project(name,shortName),author(id,ringId,avatarUrl,canReadProfile,isLocked,login,name,email,isEmailVerified,guest,fullName,online,banned,banBadge,userType(id)),created,updated,mimeType,url,size,visibility(%40visibility),imageDimensions(width,height),thumbnailURL,recognizedText,searchResults(%40searchResults),comment(%40comment),embeddedIntoDocument(id),embeddedIntoComments(id),idReadable,summary,resolved,creator(%40value1),text,type(%40value),duration(minutes,presentation),textPreview,date,usesMarkdown,attributes(id,name,value(%40value)),mentionedUsers(%40author),mentionedIssues(id,idReadable,summary,reporter(%40author),updater(%40author),resolved,updated,created,unauthenticatedReporter,fields(value(id,minutes,presentation,isEstimation,isSpentTime,name,description,localizedName,isResolved,color(%40color),buildIntegration,buildLink,text,ringId,login,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40issueRelatedGroup),allUsersGroup,$type(),icon,teamForProject(name,shortName)),id,$type,hasStateMachine,isUpdatable,projectCustomField($type,id,field(id,name,ordinal,aliases,localizedName,fieldType(id,presentation,isBundleType,valueType,isMultiValue)),bundle(id,$type),canBeEmpty,emptyFieldText,hasRunningJob,ordinal,isSpentTime,isEstimation,isPublic),visibleOnList,searchResults(id,textSearchResult(highlightRanges(%40highlightRanges),textRange(%40highlightRanges))),pausedTime),project(%40project),visibility(%40visibility),tags(%40tags),votes,voters(hasVote),watchers(hasStar),usersTyping(timestamp,user(%40value1)),canUndoComment),mentionedArticles(id,idReadable,reporter(%40value1),summary,project(%40project),parentArticle(idReadable),ordinal,visibility(%40visibility),hasUnpublishedChanges,hasChildren,tags(%40tags),hasStar),files,commands(errorText,hasError,start,end),noHubUserReason($type,id),noUserReason($type,id),pullRequest($type,author(%40value1),date,fetched,processor(id,$type),files,id,branch,idExternal,idReadable,noHubUserReason($type,id),noUserReason($type,id),title,text,url),urls,processors(id,$type),state($type,id),version,deleted,pinned,attachments(id,name,author(%40author1),created,updated,mimeType,url,size,visibility(%40visibility),imageDimensions(width,height),thumbnailURL,recognizedText,searchResults(%40searchResults),comment(%40comment),embeddedIntoDocument(id),embeddedIntoComments(id)),reactions(id,reaction,author(%40value1)),reactionOrder,hasEmail,canUpdateVisibility,suspiciousEmail,issue(id,project(id)),markdownEmbeddings(key,settings,widget(id)),reaction,presentation),removed(id,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),localizedName,numberInProject,project(name,shortName),author(%40author1),created,updated,mimeType,url,size,visibility(%40visibility),imageDimensions(width,height),thumbnailURL,recognizedText,searchResults(%40searchResults),comment(%40comment),embeddedIntoDocument(id),embeddedIntoComments(id),idReadable,summary,resolved,presentation),issue(description,customFields(name,projectCustomField(emptyFieldText,field(id,localizedName,name,fieldType(%40fieldType))),value(%40value1))),id,author(%40author),authorGroup(id),timestamp,field(id,presentation,customField(fieldType(%40fieldType))),target(id,$type),targetMember,type,pseudo,emptyFieldText,sprintsDisabled),hasBefore,hasAfter,beforeCursor,afterCursor,cursor%3B%40project%3Aid,ringId,name,shortName,projectType(id),pinned,iconUrl,template,archived,hasArticles,isDemo,sourceTemplate,fieldsSorted,query,issuesUrl,restricted,leader(%40value1),creationTime,widgets(id,key,appId,description,appName,appTitle,name,collapsed,configurable,indexPath,extensionPoint,iconPath,appIconPath,appDarkIconPath,defaultHeight,defaultWidth,expectedHeight,expectedWidth,vendorName,vendorEmail,vendorUrl,marketplaceId),plugins(timeTrackingSettings(id,enabled),helpDeskSettings(id,defaultForm(uuid,title)),vcsIntegrationSettings(hasVcsIntegrations),grazie(disabled))%3B%40comment%3Aid,visibility(%40visibility)%3B%40visibility%3A$type,implicitPermittedUsers(%40value1),permittedGroups(%40issueRelatedGroup),permittedUsers(%40value1)%3B%40author%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id),issueRelatedGroup(%40issueRelatedGroup)%3B%40value%3Aid,name,autoAttach,description,hasRunningJobs,color(%40color),attributes(id,timeTrackingSettings(id,project(id)))%3B%40value1%3Aid,ringId,login,name,email,isEmailVerified,guest,fullName,avatarUrl,online,banned,banBadge,canReadProfile,isLocked,userType(id)%3B%40issueRelatedGroup%3Aid,name,ringId,allUsersGroup,$type(),icon,teamForProject(name,shortName)%3B%40tags%3Aid,name,color(%40color),isDeletable,isUpdatable,isUsable%3B%40searchResults%3AtextSearchResult(highlightRanges(%40highlightRanges))%3B%40author1%3Aid,ringId,avatarUrl,canReadProfile,isLocked,login,name%3B%40color%3Aid,background,foreground%3B%40fieldType%3AvalueType,isMultiValue%3B%40highlightRanges%3AstartOffset,endOffset
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/92039415-edc9-4207-aef2-f4341b276090?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/611754fe-0c06-4785-8f70-7c8169e64af5?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/ff618342-a840-4cf2-b59b-08062a204c9b?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/778152ff-fd51-4e31-9960-570052b45e33?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/ac38ed30-3f7a-480e-b519-e49db3621343?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/a9a9ad5f-fc0a-4c70-abfb-9aa943886495?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/d73055db-edcc-49a0-9631-35aa993580ec?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/fdf21604-362e-4eae-b55c-a57135cb16fb?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/a822140e-8730-4cae-a31d-550640b830e9?s=48&dpr=2&size=32
*** It is not true, it is an error: https://hub.jetbrains.com/api/rest/avatar/597572ed-c84e-4fa2-bda1-7ba9aec332d3?s=48&dpr=2&size=32
I think you need to Timing-Allow-Origin for getting sizes to work (maybe that is done already). For edge cases, I think you can ask in Chrome and Firefox bug trackers, I don't have the full picture here.