Skip to content

Comments

Add caching for Alkanes tokens to improve performance#14

Open
iwashimm wants to merge 1 commit intoJinMaa:mainfrom
iwashimm:feature/add-alkanes-tokens-caching
Open

Add caching for Alkanes tokens to improve performance#14
iwashimm wants to merge 1 commit intoJinMaa:mainfrom
iwashimm:feature/add-alkanes-tokens-caching

Conversation

@iwashimm
Copy link

@iwashimm iwashimm commented Apr 8, 2025

Pull Request

Description

This PR adds a caching system for Alkanes tokens to improve performance and reduce API calls. The implementation includes a visual indicator showing whether data is from cache or freshly fetched, and proper cache invalidation mechanisms.

Related Issue

N/A (or reference the issue number if there was one)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Performance improvement

Testing Performed

  • Loaded the Alkanes Tokens Explorer page and verified data was fetched from API
  • Navigated away and returned to verify cached data was used
  • Tested the cache status indicator to confirm it displays "Fresh" or "Cached" correctly
  • Verified the refresh button clears cache and fetches fresh data
  • Tested pagination with caching to ensure correct data display

Screenshots

image

Checklist

  • My code follows the code style of this project
  • My changes generate no new warnings
  • I have checked that my code does not include any sensitive data

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.

1 participant