Un petit avertissement

Mon français est franchement mauvais. Cette version française a été traduite avec l'aide de l'IA et sert surtout d'exemple : elle montre qu'un site peut être offert en plusieurs langues. Si vous cherchez un développeur qui travaille couramment en français, vous trouverez sûrement mieux ailleurs.

A quick note: my French is honestly awful. This French version was translated with AI help and is here mainly as an example of a site in several languages. If you're looking for a developer who works fluently in French, you'll find a better fit elsewhere.

Voir en anglais
Spec

Offline Support

Pas encore traduit Cette page est affichée en anglais.Version anglaise mise à jour : 2026-11-13 07:48

Overview

The website supports full offline browsing for public portfolio content using standard Progressive Web App (PWA) technologies combined with Blazor Static Server-Side Rendering (Static SSR).

Offline Capabilities

  • Service Worker (service-worker.js):
    • Automatically precaches core static assets (stylesheets, fonts, icons, JavaScript, and main navigation pages /, /work, /projects, /software, /hobbies).
    • Implements a cache-first with network-fallback strategy for static assets.
    • Intercepts navigation requests when offline to serve cached pages or the offline fallback screen.
  • Offline Manifest Endpoint (/api/offline-manifest):
    • Dynamically returns a JSON manifest containing all static routes, detail items (/item/{category}/{slug}), and required assets based on compiled portfolio data.
  • Download for Offline UI (offline.js / MainLayout.razor):
    • Provides a one-click "Download for offline" button in the footer that crawls the entire portfolio manifest and populates the offline cache with real-time percentage progress.
    • Automatically tracks online/offline network transitions (navigator.onLine), displaying an offline banner when disconnected and an online/offline badge in the footer.
  • Online-Only Page Protection:
    • Account and interactive pages (/login, /register, /admin, /admin/time, /members) require live server connectivity and are gracefully intercepted with an informative message when offline.