Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching mechanic #19

Closed
10 tasks done
LancerComet opened this issue Apr 10, 2023 · 2 comments
Closed
10 tasks done

Caching mechanic #19

LancerComet opened this issue Apr 10, 2023 · 2 comments
Assignees
Labels
feature New feature is needed

Comments

@LancerComet
Copy link
Member

LancerComet commented Apr 10, 2023

FileMeta

FileMeta is the abstraction of a single file. It should make file loading faster.

  • Can analyze all files under a bookshelf folder. There should be a button to do this in the folder page.
  • Start automatically when a new folder is being added
  • Get the pixel size of every single image in archive and store them
  • Use FileMeta when loading a file
  • Create the FileMeta when a file has been loaded into the reader
  • Files in small size or have few images should not be cached
  • There should be one or more indicators to tell users that files are being analyzed
  • Make a helping dialog for the first time usage

Thumbnail cache

  • Create thumbnails and save them to cache folder
  • Thumbnail should be clearable
@LancerComet LancerComet added the feature New feature is needed label Apr 10, 2023
@LancerComet LancerComet changed the title An archive meta caching mechanic A meta caching mechanic Apr 11, 2023
@LancerComet LancerComet changed the title A meta caching mechanic Caching mechanic Apr 12, 2023
@LancerComet
Copy link
Member Author

FileMeta part is done

@LancerComet LancerComet self-assigned this Apr 20, 2023
@LancerComet
Copy link
Member Author

Thumbnail caching is done in 0.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature is needed
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant