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

cache rendered images to temp directory #215

Closed
4 tasks done
catdad opened this issue Jun 16, 2019 · 1 comment
Closed
4 tasks done

cache rendered images to temp directory #215

catdad opened this issue Jun 16, 2019 · 1 comment

Comments

@catdad
Copy link
Owner

catdad commented Jun 16, 2019

  • save files in tmp directory
  • hash filepath to generate filename
  • allow prefixes (thumbnail, raw, etc.)
  • delete old files from tmp directory
@catdad
Copy link
Owner Author

catdad commented Jun 25, 2019

It turns out that many RAW files are actually faster to read directly from the raw file (Sony, DNG) or at least just as fast (CR2), so caching these files is actually worse. I may change it up and only cache known slow files.

Also, I should check slow drives, like SD cards and whatnot. There may be a bigger benefit to caching there.

catdad added a commit that referenced this issue Jun 26, 2019
adding a file cache to store slow image operations, like raw renders and psd renders
@catdad catdad closed this as completed Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant