perf: Optimizing the image loading

Does no longer load all klipy images through image proxy from signal server. Improves loading performance.
This commit is contained in:
2026-03-30 00:10:40 +02:00
parent 11917f3412
commit eb23fd71ec
9 changed files with 65 additions and 19 deletions

View File

@@ -109,7 +109,7 @@ sequenceDiagram
## GIF integration
`KlipyService` checks availability on the active server, then proxies search requests through the server API. Images are rendered via an image proxy endpoint to avoid mixed-content issues.
`KlipyService` checks availability on the active server, then proxies search requests through the server API. Rendered remote images now attempt a direct load first and only fall back to the image proxy after the browser reports a load failure, which is the practical approximation of a CORS or mixed-content fallback path in the renderer.
```mermaid
graph LR