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

Include subfile hashes with name lookup #9

Open
ewencp opened this issue Mar 31, 2012 · 0 comments
Open

Include subfile hashes with name lookup #9

ewencp opened this issue Mar 31, 2012 · 0 comments

Comments

@ewencp
Copy link
Member

ewencp commented Mar 31, 2012

We currently get subfiles in headers, e.g.,

Subfile-Name: foo.jpg
Subfile-Path: /user/model/foo.jpg

Most of the time we're just going to download these anyway, so it would be nice to get all the hashes as well, e.g.,

Subfile-Hash: abcd6543

Especially when content is already cached, this could greatly speed up the client as it has to do many thousands of name lookups for dependent textures. Each of these is relatively quick, but we could entirely remove that overhead. It would probably be better for the CDN servers as well since they'll get far fewer http requests.

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