You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating #28114, we found out about the following potential improvements to the generated JSON files (/generated/docs/**/*.json). See also #28114 (comment).
The renderLinkInfo Dgeni processor renders an HTML comment with all links found in the document at the bottom of the HTML content. This unnecessarily increases the payload size of each document (which affects both the download times and the cache sizes for the SW). (NOTE: Since we include two links (view/edit) for each property/method/overload signature, some API docs end up with a lot of such links.)
The URLs for the links to view/edit the source code on GitHub contain the current version of Angular (see the githubViewRef() macro). This means that on every release (including patch releases), the contents of almost all docs files change, thus invalidating their content-based hashes (and by extension invalidating any cached versions of the files). Potential fixes:
Description
While investigating #28114, we found out about the following potential improvements to the generated JSON files (
/generated/docs/**/*.json
). See also #28114 (comment).The
renderLinkInfo
Dgeni processor renders an HTML comment with all links found in the document at the bottom of the HTML content. This unnecessarily increases the payload size of each document (which affects both the download times and the cache sizes for the SW).(NOTE: Since we include two links (view/edit) for each property/method/overload signature, some API docs end up with a lot of such links.)
The URLs for the links to view/edit the source code on GitHub contain the current version of Angular (see the githubViewRef() macro). This means that on every release (including patch releases), the contents of almost all docs files change, thus invalidating their content-based hashes (and by extension invalidating any cached versions of the files).
Potential fixes:
What is the affected URL?
Almost all 😁
Please provide the steps to reproduce the issue
No response
Please provide the expected behavior vs the actual behavior you encountered
No response
Please provide a screenshot if possible
No response
Please provide the exception or error you saw
No response
Is this a browser-specific issue? If so, please specify the device, browser, and version.
No response
The text was updated successfully, but these errors were encountered: