Réduire la charge tierce sur les pages auditées par Lighthouse#259
Merged
Conversation
|
|
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot
AI
changed the title
[WIP] Fix Lighthouse scores below acceptable threshold
Réduire la charge tierce sur les pages auditées par Lighthouse
Jun 2, 2026
DavidKRK
approved these changes
Jun 2, 2026
Owner
DavidKRK
left a comment
There was a problem hiding this comment.
LGTM. Bonne simplification du chargement des pages, avec une amélioration perf/accessibilité sur music.html grâce au chargement à la demande du player.
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.
L’audit Lighthouse passait sous les seuils attendus sur les pages auditées, principalement à cause de ressources tierces chargées trop tôt sur le parcours initial. Cette PR réduit le coût au chargement de la home et de la page music sans toucher aux métadonnées SEO.
Home: stabilisation du player embarqué
loading="lazy"Music: report du widget audio tiers
noscriptPages auditées: réduction du JavaScript inutile
howler/assets/js/main.jssur les pages où aucun contrôle audio n’est utilisé (index.html,contact.html,music.html)Accessibilité et i18n du chargement différé
Exemple du changement clé sur la page music :