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

Compare blob before overwriting canvas #49

Open
christopheranderson opened this issue May 5, 2018 · 0 comments
Open

Compare blob before overwriting canvas #49

christopheranderson opened this issue May 5, 2018 · 0 comments
Assignees

Comments

@christopheranderson
Copy link
Owner

We're currently always assuming the blob is new, but we should compare the ETag or Date header before overwriting.

One solution is to just use ETag and only allow new updates. Another option is to use the Date header and make sure we're not too stale. If we're too stale, then we just keep buffering pixel updates.

@christopheranderson christopheranderson self-assigned this May 5, 2018
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