# How to avoid potential issues when rebaking all posts?

**URL:** <https://meta.discourse.org/t/how-to-avoid-potential-issues-when-rebaking-all-posts/249271>\
**Category:** Product Support\
**Tags:** onebox\
**Created:** [December 18, 2022, 12:58pm UTC](https://meta.discourse.org/t/how-to-avoid-potential-issues-when-rebaking-all-posts/249271 "2022-12-18T12:58:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [December 18, 2022, 12:58pm UTC](https://meta.discourse.org/t/how-to-avoid-potential-issues-when-rebaking-all-posts/249271/1 "2022-12-18T12:58:28Z")

</div>

Hi!

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](https://meta.discourse.org/t/onebox-assistant-crawl-for-those-previews-reliably/107405/128), 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](https://meta.discourse.org/t/what-if-twitter-implodes/246343) and that we will lose this information.

- I have [old Facebook and Instagram oneboxes that display nicely](https://unicyclist.com/t/desert-muni-race-ridgercrest-ca/127502/23?u=canapin). Nowadays, they don’t (they display in an iframe, see [this commit](https://github.com/discourse/discourse/pull/14789/commits/d68859f6d8898679202193302bb40d075ba50e27)).  
Additional info: [Instagram embedding features and layout](https://meta.discourse.org/t/instagram-embedding-features-and-layout/233056) (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](https://meta.discourse.org/t/facebook-oneboxes-not-working-on-my-forums/238906) (it seems [even Discord can’t have “trusted” IP…?](https://cdn.discordapp.com/attachments/722072871693844481/1054017994818326558/image.png) 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!](https://meta.discourse.org/t/onebox-assistant-crawl-for-those-previews-reliably/107405) 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?

---

_[View the full topic](https://meta.discourse.org/t/how-to-avoid-potential-issues-when-rebaking-all-posts/249271)._
