# Cachebust when publishing

**URL:** <https://forum.builder.io/t/cachebust-when-publishing/6122>\
**Category:** Technical Questions\
**Tags:** nextjs\
**Created:** [August 14, 2024, 7:32pm UTC](https://forum.builder.io/t/cachebust-when-publishing/6122 "2024-08-14T19:32:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [August 16, 2024, 4:08pm UTC](https://forum.builder.io/t/cachebust-when-publishing/6122/4 "2024-08-16T16:08:44Z")

</div>

Hello @tlee-pb,

For cachebust, you can refer to the below links

```auto
let response = fetch('https://cdn.builder.io/api/v1/html/DOC_ID?apiKey=YOUR_KEY&cachebust=true')
// Now you can save and later serve the HTML as you please
let html = response.data.html

```

> **[Using webhooks in Builder.io - Builder.io](https://www.builder.io/c/docs/webhooks)**
>
> Learn how to create webhooks for models in Builder.io so your app is aware of content changes that should trigger any workflows you have on your end.

> [@Changes are not happening in real time](https://forum.builder.io/t/changes-are-not-happening-in-real-time/4545):
>
> have started building pages with Visual editor and having a problem with the changes not in real time. Every time i modify the page i bit, i have to do all the cache cleaning refreshing to see the result. the design i did in the Visual editor and the result after running are not the same

---

_[View the full topic](https://forum.builder.io/t/cachebust-when-publishing/6122)._
