# Beaver Builder Cache

**URL:** https://community.kinsta.com/t/beaver-builder-cache/4096
**Category:** Questions
**Created:** [October 9, 2024, 1:06am UTC](https://community.kinsta.com/t/beaver-builder-cache/4096 "2024-10-09T01:06:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![klagreca2](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/klagreca2/32/3819_2.png) [@klagreca2](https://community.kinsta.com/u/klagreca2)
#### Post date: [October 9, 2024, 1:06am UTC](https://community.kinsta.com/t/beaver-builder-cache/4096/1 "2024-10-09T01:06:23Z")

</div>

Hi folks. Just discovered that the “push” function of Devkinsta clears Kinsta caches, but doesn’t clear Beaver Builder’s cache.

Any BB users out there, figure out a way to automate the clearing of BB’s cache when pushing a site? I’m thinking maybe some sort of custom function that is triggered by either an API call or something simpler.

---

<div class="post-metadata">

### Author: ![Adrian\_L](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/adrian_l/32/2810_2.png) [@Adrian\_L](https://community.kinsta.com/u/Adrian_L)
#### Post date: [October 9, 2024, 3:13am UTC](https://community.kinsta.com/t/beaver-builder-cache/4096/2 "2024-10-09T03:13:48Z")

</div>

Hi @klagreca2 👋

I’m not a Beaver Builder plugin expert, but from what I found online, it doesn’t look like the plugin has an API endpoint for cache clearing. However, I did come across a [WP-CLI command](https://docs.wpbeaverbuilder.com/beaver-builder/developer/tutorials-guides/wp-cli-plugin-theme/#clear-the-beaver-builder-and-beaver-theme-cache) " `wp beaver clearcache` " to clear its cache. So, you might be able to create a custom PHP function to trigger the WP-CLI clear cache command.

Not exactly the same behavior, but another option could be setting up a cron task to trigger WP-CLI to clear the BB cache at specific time intervals on the Kinsta’s server.

Hope this helps!

---

<div class="post-metadata">

### Author: ![klagreca2](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/klagreca2/32/3819_2.png) [@klagreca2](https://community.kinsta.com/u/klagreca2)
#### Post date: [October 10, 2024, 2:25pm UTC](https://community.kinsta.com/t/beaver-builder-cache/4096/3 "2024-10-10T14:25:45Z")

</div>

Thanks! I’ll dive into this and see if I can automate it in some way.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)
#### Post date: [October 13, 2024, 2:26am UTC](https://community.kinsta.com/t/beaver-builder-cache/4096/4 "2024-10-13T02:26:19Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
