Skip to content

Expand cache manager with disk and database backends - #265

Merged
Legoman99573 merged 3 commits into
forkfrom
feature/Cache-Manager-Expansion
Oct 1, 2026
Merged

Legoman99573 merged 3 commits into
forkfrom
feature/Cache-Manager-Expansion

Conversation

@Legoman99573

Copy link
Copy Markdown
Owner

CacheManager always ran on RAM, but now this will allow Database or File System to act as cache. This is a draft for now as likely bugs will occur but at least its better to expand since some hosts, like Aternos, doesn't assign people enough memory. This should not be considered as a 100% replacement as RAM is usually the best as File System may have problems on older/slow drives and Database would need a quick way to update entries as high latency could expose problems.

@Legoman99573 Legoman99573 self-assigned this Sep 20, 2026
@Legoman99573 Legoman99573 added enhancement New feature or request help wanted Extra attention is needed java Pull requests that update Java code labels Sep 20, 2026
@github-actions

github-actions Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@Legoman99573
Legoman99573 force-pushed the feature/Cache-Manager-Expansion branch from 8bca007 to 24c671f Compare September 20, 2026 04:04
gxcache is a GravesX Cache file. Just looks cooler 😎
* Added cache debug (for development/debug purposes)
* Add CacheAPI for developers
* Database is not considered caching and treated as direct database. Some entries will be added for some things not stored in database.
* Fixed graves reload saying its finished, but not considering when database is fully loaded.
* APIs that set values will now automatically update database entries automatically.
@Legoman99573
Legoman99573 marked this pull request as ready for review October 1, 2026 00:36
@Legoman99573
Legoman99573 merged commit e1be725 into fork Oct 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant