Skip to content

fix(better): PageSpeed findings, main landmark, logo size, cache lifetimes and COOP - #35

Merged
HyakoV3 merged 1 commit into
masterfrom
better-pagespeed-fixes
Oct 14, 2026
Merged

HyakoV3 merged 1 commit into
masterfrom
better-pagespeed-fixes

Conversation

@HyakoV3

@HyakoV3 HyakoV3 commented Oct 14, 2026

Copy link
Copy Markdown
Owner

PageSpeed Insights of better.hdl.hv4.xyz (Performance 98, Accessibility 98, Best Practices 96).

  • <main> landmark on the speed test and stability pages (the route page had it)
  • width/height on the logo of the three better pages
  • Apache headers (docker/librespeed-headers.conf, Debian and Alpine): cache of 30 days for fonts and images, 1 day for js, css and locales; settings.json, server-list.json and config.json are not cached; Cross-Origin-Opener-Policy: same-origin and X-Content-Type-Options: nosniff

Not done on purpose: strong CSP (inline handlers), X-Frame-Options (the pages are embeddable), HSTS (belongs to the reverse proxy), deferring the scripts and minifying (bigger change). The CORS console error comes from a third-party server of the public list.

Tests: better-pages, better-panel and better-hrs checked on the built image and on the Vördemo.

…times and COOP

- index-better and stability-better get a <main> landmark (accessibility)
- the logo has width and height on the three better pages (layout shift)
- docker/librespeed-headers.conf: 30 days for fonts and images, 1 day for
  js, css and locales, none for the json an operator edits; COOP same-origin
  and nosniff. Installed in the Debian and Alpine images
@vandame-bot

vandame-bot Bot commented Oct 14, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@HyakoV3 HyakoV3 self-assigned this Oct 14, 2026
@HyakoV3 HyakoV3 added bug Something isn't working enhancement New feature or request labels Oct 14, 2026
@HyakoV3
HyakoV3 merged commit eb5a25d into master Oct 14, 2026
13 checks passed
@HyakoV3
HyakoV3 deleted the better-pagespeed-fixes branch October 14, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant