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

Implement memory cache for PostCaptures. #600

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

seanwu1105
Copy link
Contributor

See #554.

According to the discussion on mid-sprint kickoff, implement in-memory cache for PostCaptures to provide better UX.

  • Cache PostCapture list response in memory.
  • Cache PostCapture asset_file in memory.
    • Possible thrashing with high asset_file quantity.

This is NOT an ideal cache implementation as we should build a safer and more structural LRU cache by leveraging declarative caching tool kits, such as ngsw. However, we do not have enought time for now.

Tested on Brave browser and Exodus 1.

@seanwu1105 seanwu1105 added this to the beta 13.5 milestone Mar 29, 2021
@seanwu1105 seanwu1105 self-assigned this Mar 29, 2021
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.

2 participants