mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-21 08:56:07 -04:00
[PR #76] [MERGED] Cache-first object fetching #134
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Drop-OSS/drop-app/pull/76
Author: @DecDuck
Created: 7/26/2025
Status: ✅ Merged
Merged: 7/26/2025
Merged by: @DecDuck
Base:
develop← Head:cache-fixes📝 Commits (3)
b8e2bcefix: submillisecond cache hits87ddaf4fix: async object loading to hand control back to renderer75a1ebdfix: clippy📊 Changes
12 files changed (+110 additions, -101 deletions)
View changed files
📝
app.vue(+1 -0)📝
components/HeaderUserWidget.vue(+2 -2)➕
components/LoadingIndicator.vue(+7 -0)📝
pages/library/[id]/index.vue(+19 -20)📝
src-tauri/src/error/remote_access_error.rs(+1 -1)📝
src-tauri/src/games/library.rs(+4 -4)📝
src-tauri/src/lib.rs(+10 -15)📝
src-tauri/src/remote/auth.rs(+1 -1)📝
src-tauri/src/remote/cache.rs(+52 -35)📝
src-tauri/src/remote/commands.rs(+1 -1)📝
src-tauri/src/remote/fetch_object.rs(+11 -21)📝
src-tauri/tauri.conf.json(+1 -1)📄 Description
Currently cache hits are sub-millisecond on an SSD, which is good.
I think WebView loads images synchronously or something, because cache misses make the webview freeze up, so we can't show any loading state. Will need to figure out a workaround.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.