Update URLs to use the new CDN for static assets and reports#1169
Merged
max-ostapenko merged 2 commits intomainfrom Dec 7, 2025
Merged
Update URLs to use the new CDN for static assets and reports#1169max-ostapenko merged 2 commits intomainfrom
max-ostapenko merged 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates static asset and report URLs from the old Google Cloud Gateway (reports-prod-2vzgiib6.uc.gateway.dev) to the new CDN (cdn.httparchive.org). The changes ensure all references to static reports, icons, and data files now point to the new CDN infrastructure.
- Replaces all instances of the old gateway URL with the new CDN URL across shell scripts, templates, and JavaScript modules
- Updates the preconnect hint in the HTML template to the new CDN domain
- Updates metadata timestamps and hashes in the configuration file to reflect the modified JavaScript files
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tools/scripts/test_reports.sh | Updates test script URLs for monthly reports, timeseries data, and CrUX reports to use the new CDN |
| templates/report/report.html | Updates the preconnect link hint from the old gateway to the new CDN for improved performance |
| src/js/timeseries.js | Updates data URL construction to fetch timeseries JSON data from the new CDN |
| src/js/techreport/utils/constants.js | Updates the base API URL constant to point to the new CDN |
| src/js/techreport/tableLinked.js | Updates icon URL construction to load technology icons from the new CDN |
| src/js/techreport/combobox.js | Updates icon URLs in both dropdown options and selected items to use the new CDN |
| src/js/histogram.js | Updates histogram data URL construction to fetch reports from the new CDN |
| src/js/components/drilldownHeader.js | Updates icon URL in header component to use the new CDN |
| config/last_updated.json | Updates modification dates (to 2025-12-07) and content hashes for affected JavaScript files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates all references to the old
reports-prod-2vzgiib6.uc.gateway.devCDN domain, replacing them with the newcdn.httparchive.orgdomain throughout the codebase, configuration, templates, and test scripts. This ensures that all static assets and API calls are routed through the new CDN, improving performance.