Caches don't have limits/expirations
See original GitHub issueWe’re using the storage to cache the release count and the users’ full name. These caches don’t expire and they just pile up. There should be a mechanism to either regularly purge the cache or to make them expire.
A thought was to use good ol’ cookies in the background.js
(yes they work in there) since the expiration is handled natively and new items push out the old items once the limit is reached — just like you’d expect from a cache.
However cookies are limited to 4KB (instead of 5MB), which maybe fits around 100 user names and 40 release counts.
Ideas?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Mark Davis reminds everyone there's no salary cap for coaches
Coaches don't want to let their deals expire and be a lame duck in their ... There have been 11 coaches appointed to...
Read more >Rules On Hiring NFL Coaches - Windy City Gridiron
Now if either of these two have their contracts expire after the 2009 season they'd essentially be free to sign with any team...
Read more >Tips for Handling Baseball Time Limits - Referee.com
Coaches aren't always up front about time limits, particularly at lower levels where they want to get the team more playing time. If...
Read more >The Five Pillars of Gregg Popovich - Bloomberg
Since Gregg Popovich took over as head coach of the NBA's San Antonio Spurs 21 years ago, the rest of the league's teams...
Read more >Frequently Asked Questions - International Coaching Federation
If you have a question about credentialing, accreditation, research, ... I let my International Coaching Federation (ICF) Membership or Credential expire?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would just go the easy route and purge the cache every x days (100?).
Make it every 30 days and I’m 👍