Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

✨ Cache download responses #53

Merged
merged 1 commit into from
Apr 10, 2022
Merged

✨ Cache download responses #53

merged 1 commit into from
Apr 10, 2022

Conversation

wilsonehusin
Copy link
Member

@wilsonehusin wilsonehusin commented Apr 9, 2022

What this PR does / Why we need it

Reducing network calls on downloads to speed up user experience. Ironically, this increases disk usage and perhaps adding another thing to be considered in building the solution for #52.

That said, I think this might require some hardening (the cached files are literally HTTP response and therefore items like checksum.txt can be seen transparently) thus the feature is toggle-able and disabled by default.

  • cache HTTP requests
  • bindl purge cache / Low priority, and I think I'd rather decide on User mode #52 first before adding more code that relies on the path

Which issue(s) this PR fixes

N/A — spontaneous development.

@wilsonehusin wilsonehusin mentioned this pull request Apr 9, 2022
@wilsonehusin wilsonehusin force-pushed the cache-downloads branch 4 times, most recently from af2c7b2 to dcaf0d0 Compare April 10, 2022 16:06
@wilsonehusin wilsonehusin merged commit 6816985 into main Apr 10, 2022
@wilsonehusin wilsonehusin deleted the cache-downloads branch April 10, 2022 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant