mozilla/chronicle

Loading thumbnails is slow

Opened this issue · 5 comments

Not sure if we're planning on adding the embed.ly crop and url2png tasks are going to be offloaded into a worker queue for pre-generation, but currently they cause the front end to load somewhat ... slowly.

chronicle

It seems from my casual devtools browsing that it takes ~2.x seconds for each thumbnail generation (for cases that use url2png).

Yeah ideally we'll precache these when the server handles the logic for which image to use.

Cool, cool, cool... Yeah, I was wondering if we'd need something similar for the favicons since some of those are HTTP and others are HTTPS, which is giving me some mixed protocol warnings. Not sure if we're planning on proxying all the favicons through embed.ly, or if we can just scrape them once and store them in Postgres as a datauri or something.

something similar for the favicons since some of those are HTTP and others are HTTPS

Yeah we do need to fix that... either through the display endpoint or the crop endpoint. Will you create an issue for this if we don't have one?

Bug incoming!

UPDATE: #261 filed.

Thanks for filing, @pdehaan! Moving to backlog till we've got enough app to start optimizing it, somebody shout if we care about mixed-content warnings or slightly slow rendering right now