If a KB has been updated immediately after it's cached, will the user get wrong content via search?

Lisa71
Tera Contributor

If a KB has been updated immediately after it's cached, will the user get a wrong content from cache via search?

1 REPLY 1

Matthew_13
Tera Guru

Not usually. Here’s how it works in ServiceNow:

  • Knowledge Base caching is mostly for performance, so the system doesn’t hit the database for every search.

  • If a KB article is updated right after it’s cached, the search index or cached content might still serve the old version until the cache is refreshed.

  • Cache refresh happens:

    1. Automatically after a set time (cache TTL).

    2. When an article is published, updated, or explicitly invalidated.

Best practice: If you want users to see the latest content immediately after an update, publish the article or manually clear the KB cache (Knowledge Base → Clear Cache).

So yes, technically a user might see stale content briefly, but ServiceNow has mechanisms to minimize this.

 

@Lisa71 - Please mark this Helpful and Solution Accepted if Helpful. I thank you Kindly