# Browser cache when delivering a custom kibana plugin

**URL:** <https://discuss.elastic.co/t/browser-cache-when-delivering-a-custom-kibana-plugin/267719>\
**Category:** Kibana\
**Created:** [March 18, 2021, 9:09pm UTC](https://discuss.elastic.co/t/browser-cache-when-delivering-a-custom-kibana-plugin/267719 "2021-03-18T21:09:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weand/32/38826_2.png) [@weand](https://discuss.elastic.co/u/weand)\
**Post date:** [March 18, 2021, 9:09pm UTC](https://discuss.elastic.co/t/browser-cache-when-delivering-a-custom-kibana-plugin/267719/1 "2021-03-18T21:09:46Z")

</div>

Hi,

this is about kibana and browser cache when delivering a custom kibana plugin regulary into production.

we have a custom kibana plugin and integrated it into our CI/CD. when it comes to production, browser clients are always stuck at old versions until every browser cache is cleared manually. We are wondering how we can configure kibana to get new versions delivered to clients without getting caches cleared. since there was so much progress on the kibana platform, maybe there is some trigger/configuration. it would also be ok, the get client load all kibana content with some trigger. Maybe there a way to change the identifier where bundles reside in `.../36136/bundles/...`.

There is not even a chance to change Cache Control header directly in kibana (any special reason why that is hardcoded to 1 year)?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [March 22, 2021, 9:41am UTC](https://discuss.elastic.co/t/browser-cache-when-delivering-a-custom-kibana-plugin/267719/2 "2021-03-22T09:41:36Z")

</div>

Hi @weand you can track the progress in this issue [[Webpack] The numeric prefix for cache busting in URLs to static resources does not change even if plugin code changes · Issue #94951 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/94951)

> Maybe there a way to change the identifier where bundles reside in `.../36136/bundles/...` .

As a workaround, you can change `build.number` in `package.json` file

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 19, 2021, 9:42am UTC](https://discuss.elastic.co/t/browser-cache-when-delivering-a-custom-kibana-plugin/267719/3 "2021-04-19T09:42:36Z")

</div>

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