On complète la gestion du cache pour les métadonnées

This commit is contained in:
2025-10-26 13:05:46 +01:00
parent 33761f1cef
commit 1268c24faf
7 changed files with 83 additions and 23 deletions

View File

@@ -123,7 +123,7 @@ async fn serve_file_with_streaming<C: CacheConfig>(
content_type: &'static str,
param_generator: Option<ParamGenerator<C>>,
) -> Response {
let file_path = cache.file_path_with_qualifier(pk, param);
let file_path = cache.get_file_path_with_qualifier(pk, param);
// Si le fichier n'existe pas et qu'on a un générateur, l'utiliser
if !file_path.exists() {