Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Angular server context #106

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

devknoll
Copy link
Contributor

@devknoll devknoll commented Jan 9, 2024

Detects pages using Angular SSR and SSG


Test websites:

Copy link

github-actions bot commented Jan 9, 2024

Custom metrics for https://almanac.httparchive.org/en/2022/

WPT test run results: http://webpagetest.httparchive.org/results.php?test=240109_N2_6

Custom metrics for https://angular.dev/

WPT test run results: http://webpagetest.httparchive.org/results.php?test=240109_H2_7
Changed custom metrics values:

{
    "_aurora": {
        "ng_version": "17.0.0-rc.1",
        "ng_img_user": null,
        "ng_priority_img_count": null,
        "ng_server_context": "ssg",
        "nuxt_version": null,
        "nuxt_vue_version": null,
        "react_version": null,
        "svelte_version": null,
        "feature_flags": [
            "NgHydration",
            "NgDefer",
            "NgAfterNextRender",
            "NgHttpTransferCache"
        ]
    }
}
Custom metrics for https://angular.io/

WPT test run results: http://webpagetest.httparchive.org/results.php?test=240109_8H_8
Changed custom metrics values:

{
    "_aurora": {
        "ng_version": "17.0.0",
        "ng_img_user": null,
        "ng_priority_img_count": null,
        "ng_server_context": null,
        "nuxt_version": null,
        "nuxt_vue_version": null,
        "react_version": null,
        "svelte_version": null,
        "feature_flags": [
            "NgControlFlow"
        ]
    }
}
Custom metrics for https://svelte.dev/

WPT test run results: http://webpagetest.httparchive.org/results.php?test=240109_6Q_9
Changed custom metrics values:

{
    "_aurora": {
        "ng_version": null,
        "ng_img_user": null,
        "ng_priority_img_count": null,
        "ng_server_context": null,
        "nuxt_version": null,
        "nuxt_vue_version": null,
        "react_version": null,
        "svelte_version": "4",
        "feature_flags": []
    }
}

@rviscomi rviscomi merged commit c29ce85 into HTTPArchive:main Jan 9, 2024
2 checks passed
@devknoll devknoll deleted the x-ng-server-context branch January 11, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants