# Mini Onebox Titles は24時間キャッシュのためHTML再構築時に更新されません

**URL:** https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976
**Category:** Bug
**Created:** [2018 年 8 月 5 日午後 9:57 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976 "2018-08-05T21:57:16Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)
#### Post date: [2018 年 8 月 5 日午後 9:57 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/1 "2018-08-05T21:57:16Z")

</div>

A html crosslink will reduce to a title. If the title changes on the post being linked too, how do I make it so the link is renamed with the new title?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018 年 8 月 5 日午後 11:55 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/2 "2018-08-05T23:55:09Z")

</div>

Sorry can you post an example here?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年 8 月 6 日午前 12:40 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/3 "2018-08-06T00:40:30Z")

</div>

He means when one topic links to another, the target topic shows the reciprocal link underneath the post, but what if the topic title changes?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018 年 8 月 6 日午前 12:44 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/4 "2018-08-06T00:44:11Z")

</div>

> [@codinghorror](#):
>
> what if the topic title changes?

The title is calculated live when you pull the page so it is always up to date.

---

<div class="post-metadata">

### Author: ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)
#### Post date: [2018 年 8 月 6 日午前 1:07 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/5 "2018-08-06T01:07:15Z")

</div>

> [@sam](#):
>
> Sorry can you post an example here?

So, take a look at this; [How to replace Let's Encrypt RSA 4096 bits with ECC 256 bits?](https://meta.discourse.org/t/how-to-replace-lets-encrypt-rsa-4096-bits-with-ecc-256-bits/93901)

which is this URL…

```
https://meta.discourse.org/t/how-to-replace-lets-encrypt-rsa-4096-bits-with-ecc-256-bits/93901

```

What happens if the title of that thread changes? How do I have it update the link? It is cached so it doesn’t change, it seems.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年 8 月 6 日午前 1:10 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/6 "2018-08-06T01:10:07Z")

</div>

It does not matter, try

`https://meta.discourse.org/t/anything-goes-here/93901`

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018 年 8 月 6 日午前 1:23 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/7 "2018-08-06T01:23:14Z")

</div>

I think he means embedded inline onebox (same issue for full onebox), if the title changes you can rebake the post to fix, which is available in the admin wrench on the post under `Rebuild HTML`

---

<div class="post-metadata">

### Author: ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)
#### Post date: [2018 年 8 月 6 日午前 3:11 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/8 "2018-08-06T03:11:31Z")

</div>

> [@sam](#):
>
> I think he means embedded inline onebox (same issue for full onebox), if the title changes you can rebake the post to fix, which is available in the admin wrench on the post under `Rebuild HTML`

That does not update the title though =/

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018 年 8 月 6 日午前 4:23 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/9 "2018-08-06T04:23:34Z")

</div>

OK I have a repro: [Mini Onebox Titles do not update on Rebuild HTML due to 24 hour cache](https://meta.discourse.org/t/how-to-update-crosslink-titles/93976) \<—

That title should have been updated but it was not when I clicked `Rebuild HTML`. There is some internal caching that needs to be bypassed on rebuild HTML that is not.

Note if you wait 24 hours I think you will be able to rebuild, a simple workaround is adding `?1` to the end of the link.

We will get this fixed @vinothkannans can you add to your list.

before (but after a rebake HTML)

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/f/cf84d8ca461ee1a45dfc0fa4700de622a44b0918.png)

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2018 年 9 月 3 日午後 8:08 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/11 "2018-09-03T20:08:06Z")

</div>

It is fixed. The above ^^ title is now updated with “Rebuild HTML”.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年 9 月 3 日午後 8:10 UTC](https://meta.discourse.org/t/mini-onebox-titles-do-not-update-on-rebuild-html-due-to-24-hour-cache/93976/12 "2018-09-03T20:10:18Z")

</div>


