mirror of
https://github.com/moku-project/Moku.git
synced 2026-06-13 01:09:56 -05:00
Feat: Longstrip Viewer(s) & Lag Improvements
This commit is contained in:
Vendored
+4
@@ -97,6 +97,10 @@ export function clearResolvedUrlCache(): void {
|
||||
aspectCache.clear();
|
||||
}
|
||||
|
||||
export function getCachedAspect(url: string): number | undefined {
|
||||
return aspectCache.get(url);
|
||||
}
|
||||
|
||||
export function clearPageCache(chapterId?: number): void {
|
||||
if (chapterId !== undefined) {
|
||||
pageCache.delete(chapterId);
|
||||
|
||||
Reference in New Issue
Block a user