Phase 2 perf : #termes en fragment charge a la demande, niveaux reseau (Network Information API) pour prechargement, images et carrousel

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cette révision appartient à :
Théo GastineletClaude Opus 5.5 a révisé 2026-10-12 16:24:13 +02:00
1 Parent 5195e5b884
révision 3f8c39ba87
3 fichiers modifiés
+94 -5

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -120,7 +120,7 @@ async function verify(manifest) {
if (md5(body) !== manifest.files['index.html']) {
throw new Error(`Vérification : le HTML servi ne correspond pas au build (encodage ${enc}).`);
}
for (const f of Object.keys(manifest.files).filter((f) => /^assets\/build\/[^/]+\.(css|js|woff2)$/.test(f))) {
for (const f of Object.keys(manifest.files).filter((f) => /^assets\/build\/[^/]+\.(css|js|woff2|html)$/.test(f))) {
const r = await fetch(`${SITE}/${f}`, { method: 'HEAD' });
if (!r.ok) throw new Error(`Vérification : ${f} -> HTTP ${r.status}`);
}