Knowledge Base Tool

egami
Participant

Cache management in knowledge base articles

SOLVE

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?
0 Upvotes
1 Accepted solution
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Cache management in knowledge base articles

SOLVE

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. 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


View solution in original post

5 Replies 5
AussieBob
Participant

Cache management in knowledge base articles

SOLVE

giphy

0 Upvotes
AussieBob
Participant

Cache management in knowledge base articles

SOLVE

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? 

0 Upvotes
TomM2
Solution
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Cache management in knowledge base articles

SOLVE

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. 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


egami
Participant

Cache management in knowledge base articles

SOLVE

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)?
0 Upvotes
TomM2
Thought Leader | Platinum Partner
Thought Leader | Platinum Partner

Cache management in knowledge base articles

SOLVE

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

 

If so the knowledgebase has all of your answers! 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. 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


0 Upvotes