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

Detect when an image/changes ZIP is updated. #79

Open
ccrraaiigg opened this issue Oct 25, 2016 · 2 comments
Open

Detect when an image/changes ZIP is updated. #79

ccrraaiigg opened this issue Oct 25, 2016 · 2 comments

Comments

@ccrraaiigg
Copy link
Contributor

Currently, if an image/changes pair is delivered via ZIP, and then updated, the new ZIP is not downloaded and unpacked, and the old image/changes are used (tested with Chrome 54).

@codefrau
Copy link
Owner

That's intentional, both to speed up loading on the second run, and to not lose your work if you snapshotted the image under the same name. So if the named image exists, it will not be overwritten.
We do have the forceDownload option, but that will always download all the files.
We would have to have a way to identify the image and force an update ... not quite sure how it should work.

@ccrraaiigg
Copy link
Contributor Author

Perhaps we could at least give a notification to the user when the server's ZIP changes, or when the server's image file changes if it's not part of a ZIP. Then the user could decide what to do. We could devise a convention for storing multiple derivative images in the indexed db.

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

2 participants