# Cache management in knowledge base articles

**URL:** <https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238>\
**Category:** Knowledge Base Tool\
**Tags:** professional, best-practices, content\
**Created:** [July 27, 2023, 7:49am UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238 "2023-07-27T07:49:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![egami](https://avatars.discourse-cdn.com/v4/letter/e/5daacb/32.png) [@egami](https://community.hubspot.com/u/egami)\
**Post date:** [July 27, 2023, 7:49am UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238/1 "2023-07-27T07:49:33Z")

</div>

I think HubSpot automatically caches pages and files on both CDN and in browsers.

I have some questions about cache management in knowledge base articles.

**What I want to do**

After editing a knowledge base article, I want the latest data to be displayed to end users as quickly as possible.

(I want to make sure that old data does not continue to be displayed to end users.)

**Questions**

- When any changes to texts, images, videos etc. in knowledge base articles are made, does Hubspot immediately delete cached data in CDN and update it?
- How long does it take for the latest data to be updated in HubSpot DB?
- How long is the cache retention time (cache TTL) for knowledge base articles?
- Is it possible to configure the cache retention time (cache TTL) for knowledge base articles?
- Is it possible to manually delete cached data in CDN and make knowledge base display the latest data?

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [July 27, 2023, 2:59pm UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238/2 "2023-07-27T14:59:09Z")

</div>

Hey @egami HubSpot uses cloudflare as the CDN, I’ve found the cache times to be quite tempermental tbh.

I know with publishing pages it does attempt to flush the CDN cache and push the latest version out but this can really be down to cloudflares update rules. As a rule of thumb I generally tell clients to not advertise newly published articles until at least an hour after last publishing. Realistically it updates in about a minute 9 times out of 10 but better safe than sorry.

Regarding all of your questions, no is the answer to most. HubSpot is a fully managed system which uses shared servers for most customers, as such you’re not going to get access to the servers or their settings. That means cache, TTL or even a refresh time for a cache is not going to be accessible to you.

---

<div class="post-metadata">

**Author:** ![egami](https://avatars.discourse-cdn.com/v4/letter/e/5daacb/32.png) [@egami](https://community.hubspot.com/u/egami)\
**Post date:** [July 28, 2023, 12:59am UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238/3 "2023-07-28T00:59:32Z")

</div>

Thank you for your reply.

Okay, I still can’t access the CDN and cache settings.

I have some additional questions though these may be different than cache issues…

- Can I save a draft of an article so that others can double check it before publishing?
- Do paths of each publishing article include category name?
- Can I set a different file name including version number and updated date each time I publish an article?
- Is there any workaround to deal with the cache issue besides the one you suggested (Tell clients to not advertise newly published articles until at least an hour after last publishing)?

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [July 28, 2023, 2:58pm UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238/4 "2023-07-28T14:58:25Z")

</div>

By article you’re referring to a blog post I assume?

If so the knowledgebase has all of your answers! [Create and customize blog posts](https://knowledge.hubspot.com/blog/create-and-publish-blog-posts)

Regarding workarounds for caching, still no since there is no access given to the server caches for users.

---

<div class="post-metadata">

**Author:** ![AussieBob](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@AussieBob](https://community.hubspot.com/u/AussieBob)\
**Post date:** [November 13, 2023, 3:29am UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238/5 "2023-11-13T03:29:41Z")

</div>

![giphy.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/969e5af55d772441eb8d2c8436e3cdc2ad0b2d19.gif)

---

<div class="post-metadata">

**Author:** ![AussieBob](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@AussieBob](https://community.hubspot.com/u/AussieBob)\
**Post date:** [November 13, 2023, 3:36am UTC](https://community.hubspot.com/t/cache-management-in-knowledge-base-articles/86238/6 "2023-11-13T03:36:37Z")

</div>

This seems like a pretty remarkable issue to me? I found that I can use ‘?hsDebug=true&hsCacheBuster’ to see the true, non-cached version, but remove that and it’s back to the cached version. Generally speaking, when it comes to websites/emails, time is of the essense. I made my theme updates 2.5 hours ago and the old version is still displaying… So, we can’t send a campaign until HubSpot clears their cloudflare cache, and we have no way of confidently planning around it?
