Skip to content

[Feature]: Implement Intelligent Caching for GitHub API calls in sugarlabs.org/profiles #688

@Shubhashish-Chakraborty

Description

Feature Type

Performance Enhancement

Problem Description

Willing to implement a comprehensive caching solution to reduce GitHub API calls (to exceed limit) and improve user experience. The implementation/enhancement includes:

Benefits:

  • Reduces GitHub API calls by ~90%
  • Improves page load performance
  • Maintains data freshness with background updates
  • Prevents rate limiting issues
  • Provides better UX with instant cached data

Proposed Solution

  • LocalStorage caching with configurable expiration times
  • Session persistence for user selections
  • Manual cache controls (refresh/clear)
  • Rate limit protection with request throttling

Already implemented it, opening a Pull Request!

Alternative Solutions

No response

Mockups or Examples

GithubApiCaching.mp4

Implementation Details

No response

Additional Context

No response

Code of Conduct

  • I have searched for similar feature requests before creating this one
  • I understand this is a feature request for the website only, not Sugar Labs software
  • I agree to follow the project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions