Automattic / Automattic/fresh-data

Unused resource clean-up (gc)

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
37
Forks
7
PR merge metrics
No merged PRs in 30d

Description

This framework will need some kind of cleanup for when resources haven't been used for a while. It would probably be good to make this with some sensible defaults, but overridable by an API.

Sensible defaults:
When a resource is no longer required by any currently mounted component for X seconds/minutes, it is removed from the resource map.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by tracing the resource map and how mounted components indicate that resources are still required; define sensible cleanup defaults and an overridable API. Done means unused resources are removed after the configured interval without affecting resources required by mounted components.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.