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

Web - Full-resolution image download performance for new uploads #5049

Open
eddy-geek opened this issue Feb 12, 2025 · 1 comment
Open

Web - Full-resolution image download performance for new uploads #5049

eddy-geek opened this issue Feb 12, 2025 · 1 comment

Comments

@eddy-geek
Copy link

Description

Full-resolution image download is excruciating slow on ente web (free tier)

URL: https://files.ente.io/?fileID=147581282
Device: Chrome, Ubuntu 24.04
Network: fiber
I don't see the issue on Android, it takes 2 seconds on the same network.

Response headers with Cloudflare stuff (redacted a bit in case): ...
accept-ranges:
bytes

access-control-allow-origin:
*
alt-svc:
h3=":443"; ma=86400
cache-control:
max-age=0, no-cache, no-store
cf-cache-status:
DYNAMIC
cf-ray:
...-MXP
content-length:
2268924
content-type:
binary/octet-stream
date:
Wed, 12 Feb 2025 20:50:07 GMT
etag:
"..."
last-modified:
Wed, 12 Feb 2025 20:32:36 GMT
nel:
{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to:
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=..."}],"group":"cf-nel","max_age":604800}
server:
cloudflare
server-timing:
cfL4;desc="?proto=TCP&rtt=87042&min_rtt=62617&rtt_var=16852&sent=78560&recv=283186&lost=0&retrans=5965&sent_bytes=34598141&recv_bytes=352603251&delivery_rate=11535&cwnd=30&unsent_bytes=0&cid=...&ts=1422174&x=0"
strict-transport-security:
max-age=63072000
vary:
Accept-Encoding
x-amz-id-2:...
x-amz-request-id:...
x-amz-version-id:  ...

Here is an example showing the dev tools showing 11s for a ~2MB image (content-length: 2268924)

Image

It would anyway be a good idea to preload at least the "next" image, but I hope something else can be done.

Version

No response

What product are you using?

Ente Photos

What platform are you using?

Web - Chrome

@eddy-geek
Copy link
Author

eddy-geek commented Feb 12, 2025

edit: it's much better now.
it may be related to the fact these were newly uploaded. maybe there's some Object store and/or CDN caching machinery that was having trouble updating ?

@eddy-geek eddy-geek changed the title Web - Full-resolution image download performance Web - Full-resolution image download performance for new uploads Feb 12, 2025
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