Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FEATURE]: Improved GitHub API Fetching with IndexedDB Caching

Đang mở
#98 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github, javascript
Lĩnh vực
api, database, frontend, performance

Hướng nghiên cứu

Issue không nêu tên tệp, bài kiểm thử hay điểm vào nào. Hãy bắt đầu bằng cách xác định luồng fetch GitHub API của ứng dụng và xác định nơi dữ liệu về tổ chức, repository, contributor, issue và rate limit được đọc và ghi; được xem là hoàn tất khi việc tái sử dụng hợp lệ trong một giờ bằng IndexedDB, việc ghi các phản hồi thành công, các sự kiện rate limit và các yêu cầu token tùy chọn đều hoạt động.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Feature and its Use Cases

What does it do??

This update adds a browser-side caching layer using IndexedDB for GitHub API responses. The cache stores organization, repository, contributor, issue, and rate-limit data for a limited time, reducing repeated API calls and improving app responsiveness.

The update also improves the GitHub fetch flow by handling rate-limit information, supporting optional Personal Access Tokens, and reusing cached responses when valid data is already available.

What is the feaure

The feature is a client-side API caching and fetch optimization system for the Org Explorer app.

It includes:

  • IndexedDB-based cache storage.
  • One-hour cache expiration using TTL.
  • Cached reads before making GitHub API requests.
  • Automatic cache writes after successful API responses.
  • GitHub rate-limit updates through a custom browser event.
  • Support for authenticated requests using a Personal Access Token.
  • Shared fetch logic through fetchWithCache.

Benefit

Users benefit because the app becomes faster, more stable, and more efficient.

Additional Context

No response

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Ngôn ngữ chính
JavaScript
Star
35
Fork
98
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AOSSIE-Org/OrgExplorer

Tất cả issue của AOSSIE-Org/OrgExplorer

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.