Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use Workers for manifest fetching & optimizations #572

Merged
merged 28 commits into from
Aug 7, 2023

Conversation

kyrie25
Copy link
Member

@kyrie25 kyrie25 commented Aug 5, 2023

  • Use Web Workers to fetch manifest contents, this way the console will no longer be littered with 404 spams.
    image

  • Reworked & fixed cache system (so that it actually works now), no longer making duplicate requests and decrease load time.

  • Topic results will also be cached and will no longer cause rate limits when spamming switching tabs.

  • A notification will now appear if all JSDelivr endpoints can't be connected to (except when they are offline, in which the extension will reload when online)
    image

@kyrie25 kyrie25 requested a review from a team as a code owner August 5, 2023 00:59
@kyrie25 kyrie25 requested review from rxri and removed request for a team August 5, 2023 00:59
src/logic/FetchRemotes.ts Outdated Show resolved Hide resolved
src/logic/FetchRemotes.ts Outdated Show resolved Hide resolved
src/types/marketplace-types.d.ts Outdated Show resolved Hide resolved
@kyrie25 kyrie25 changed the title feat(fetch-remotes): use Github Contents API feat: use Github Contents API & misc Aug 6, 2023
@kyrie25 kyrie25 changed the title feat: use Github Contents API & misc feat: optimize/cache requests & misc Aug 6, 2023
@kyrie25 kyrie25 changed the title feat: optimize/cache requests & misc feat: use Workers for manifest fetching & optimizations Aug 6, 2023
src/components/Card/Card.tsx Outdated Show resolved Hide resolved
src/extensions/extension.tsx Outdated Show resolved Hide resolved
src/logic/Utils.ts Show resolved Hide resolved
kyrie25 and others added 2 commits August 8, 2023 00:07
Co-authored-by: ririxi <dev@ririxi.dev>
Co-authored-by: ririxi <dev@ririxi.dev>
@kyrie25 kyrie25 requested a review from rxri August 7, 2023 17:13
@rxri rxri merged commit ada537c into main Aug 7, 2023
5 checks passed
@rxri rxri deleted the feat/fetch-gh-contents branch August 7, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants