Rebaking all posts is sometimes a recommended action for various reasons.
After my own experience of a rebake experience that raised issues and seen/foresee other potential others, I’d like to know how they can be avoided.
If I rebake my 2M posts, it will trigger too many requests to Youtube and my IP will be blacklisted, preventing Discourse from generating previews.
If oneboxes (with titles, thumbnails, excerpts copied in Discourse database - cooked field) original URLs went to be broken or redirected, it seems that the oneboxes will break and that we will lose this information.
I have old Facebook and Instagram oneboxes that display nicely. Nowadays, they don’t (they display in an iframe, see this commit).
Additional info: Instagram embedding features and layout (note that the layout has changed a bit since then, and the iframes now are cropping content) and Facebook oneboxes not working on my forums (it seems even Discord can’t have “trusted” IP…? It’s a public link)
I decided to drop the support of Facebook (and thus Instagram to my knowledge) on my forums for several reasons. If I rebake all my posts, I suppose that every link that was previously properly oneboxed will break. Is that right?
To circumvent certain of these issues, "Onebox Assistant", crawl for those previews reliably! could help, but not for all. For example, it couldn’t help me with Facebook previews.
What can be done to preserve existing oneboxed information during a rebake?