مشاكل أداء متعددة في oneboxes

Hello everyone. I just meet the onebox gem for rails, i’m making a Linktree clone so, i have a lot of links previews but, currently, the page takes 20-30 seconds to load 11 previews (videos, twitter status, etc). Any ideas to fix it?

إعجاب واحد (1)

What we do in Discourse is to cache the result of the onebox in the database when the user saves a post, so you don’t have to construct all the oneboxes during page request.

3 إعجابات

Right, but you still have a poor load permormance in the first time