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

Only final image is cached if you use processor. #650

Closed
andrei-kuzma opened this issue Apr 12, 2017 · 3 comments
Closed

Only final image is cached if you use processor. #650

andrei-kuzma opened this issue Apr 12, 2017 · 3 comments
Assignees

Comments

@andrei-kuzma
Copy link

Only final image is cached if you use processor.
It means that if you use resizing or other image modifications it will be downloaded few times or you will not see the image if you use another processor and open screen in offline mode

It will be great if you can add option to store original image in cache and use it if needed
Algorithm should be like:

  1. Get final image from cache, return image if exist
    If failed
  2. Get original image from cache, apply processor and store image in cache, return final image if exist
    if failed
  3. Load image, store original image in cache, apply processor, store final image in cache return image
@onevcat
Copy link
Owner

onevcat commented Apr 17, 2017

It makes sense and definitely to be an improvement. I will consider to see whether we could add an option for it later. Thanks!

@onevcat onevcat self-assigned this Apr 17, 2017
@AlexeyAfanasyev
Copy link

Hello guys,

Do you have any idea when to expect the feature in release?

Thank you.

@onevcat
Copy link
Owner

onevcat commented Jun 3, 2017

Implemented in 3.10.0

@onevcat onevcat closed this as completed Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants