From 92e606a87e71d2e60b5265a39422b59deed98424 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Fri, 20 Feb 2026 19:00:22 +0300 Subject: [PATCH] Public: lazy-load category images for faster navigation Prevent photo-page opens from feeling blocked while a category list is still loading. Defer thumbnail fetches and lower their fetch priority, while keeping detail images high priority for quicker render after navigation. --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 6edb979..219d733 100644 --- a/index.php +++ b/index.php @@ -207,8 +207,8 @@ function outputWatermarked(string $path, string $mime): never

-
До обработки
-
После обработки (watermark)
+
До обработки
+
После обработки (watermark)

Комментарии

@@ -239,7 +239,7 @@ function outputWatermarked(string $path, string $mime): never
-
+
AI