Perf(site): images WebP, compression, cache et sécurité .htaccess

- Convertis les captures hero en WebP (2,65 Mo → 156 Ko) et retire
  les PNG d'origine
- Active gzip, headers de cache et options de sécurité dans .htaccess
- Corrige le type MIME image/webp manquant
- Supprime le script feature-cards.js inexistant (404 à chaque page)
- Laisse le cache HTTP gérer la revalidation des routes (au lieu de
  no-store) + preconnect vers l'API GitHub
This commit is contained in:
BlackAngelTV committed 2026-09-07 13:48:04 +02:00
1 parent f94e6e1f15
commit 7008a4be9b
14 files changed
+67 -11

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB