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

Image fetch responses are serialized multiple times unnecessarily #24338

Open
jdm opened this issue Oct 1, 2019 · 0 comments
Open

Image fetch responses are serialized multiple times unnecessarily #24338

jdm opened this issue Oct 1, 2019 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Oct 1, 2019

When an image element requests an image, it starts a fetch and then feeds the fetch response to the image cache chunk by chunk. This means that the network thread serializes the response data in order to send it to the listener, and the listener serializes the data again in order to send it to the image cache. It would be much more efficient if the image cache were the direct listener for the fetch operation instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.