Skip to content

Conversation

@midzelis
Copy link
Collaborator

@midzelis midzelis commented Dec 9, 2025

Very simple cache manager, to stop fetching the same things so often.

Used exclusively (ATM) by asset-viewer next/prev. Additionally, the page load functions that perform navigation will use the cache (but will not write to cache - so that nav won't need to worry about cache invalidation)

Cache invalidation is performed when any asset action is performed, or when the asset-viewer is unloaded.

Stacked on #24422

@midzelis midzelis marked this pull request as draft December 23, 2025 04:36
@midzelis midzelis force-pushed the push-ukqkwoonpryu branch 2 times, most recently from 4282104 to 48ce901 Compare December 28, 2025 14:46
@midzelis midzelis added the stacked-pr Indicates a PR that has been stacked on another PR label Dec 28, 2025
@midzelis midzelis changed the base branch from main to push-lrzkswxrukys December 28, 2025 14:48
@midzelis midzelis changed the title feat: AssetCacheManager feat: cache asset info for prev/next navigation Dec 28, 2025
@github-actions
Copy link
Contributor

Deploying preview environment to https://pr-24482.preview.internal.immich.build/

@midzelis midzelis marked this pull request as ready for review December 29, 2025 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip preview stacked-pr Indicates a PR that has been stacked on another PR 🖥️web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants