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

Skip requests on SVG and CSS resources #1588

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Skip requests on SVG and CSS resources #1588

merged 2 commits into from
Jun 7, 2024

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Jun 7, 2024

SVG resources were loaded because a couple of specs have a weird PNG fallback mechanism. The Accelerometer spec still had an issue, but that's now fixed, and crawl now works well without having to load SVG resources.

CSS resources were loaded mostly out of fear that not doing so would break something. I skipped them and ran a crawl locally. I could not spot anything problematic.

(I'll report this to browser-specs as well)

SVG resources were loaded because a couple of specs have a weird PNG fallback
mechanism. The Accelerometer spec still had an issue, but that's now fixed, and
crawl now works well without having to load SVG resources.

CSS resources were loaded mostly out of fear that not doing so would break
something. I skipped them and ran a crawl locally. I could not spot anything
problematic.
@dontcallmedom
Copy link
Member

(the tests needs an update though)

@tidoust tidoust merged commit 2d4881f into main Jun 7, 2024
1 check passed
@tidoust tidoust deleted the skip-css-svg branch June 7, 2024 13:19
tidoust added a commit that referenced this pull request Jun 7, 2024
Breaking change:
- Bump required version of Node.js to >=20.12.1 (#1590)

Required by dependency on ReSpec, although note this dependency is only for
tests (`devDependencies` in `package.json`).

New features:
- Reduce crawler load on servers (#1587, #1581)
- Include data-xref-type as another hint for autolinks (#1585)

Feature patches:
- Skip requests on SVG and CSS resources (#1588)
- Fix Puppeteer instance teardown (#1586)

Dependency bumps:
- Bump respec from 35.0.2 to 35.1.0 (#1583)
- Bump ajv from 8.15.0 to 8.16.0 (#1580)
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