Jenkins Job to clear dispatcher cache of single/multiple page(s) | Community
Skip to main content
Ravi_Pampana
Community Advisor
Community Advisor
June 22, 2023

Jenkins Job to clear dispatcher cache of single/multiple page(s)

  • June 22, 2023
  • 1 reply
  • 810 views

Sometimes we receive requests to clear the dispatcher cache for a specific page. However, in most cases, we don't have the option to clear the cache for individual pages, so we end up clearing the entire dispatcher cache. This approach leads to heavy traffic on the production publisher instances and increased CPU utilization.

To tackle this problem, I developed a dedicated Jenkins job that focuses on clearing the dispatcher cache for single or multiple pages. With this new job, we no longer have to clear the entire dispatcher cache whenever a request for page-specific cache clearing arises.

This improvement brings about a significant reduction in traffic on the publishing instances and alleviates CPU utilization, especially when it's unnecessary to clear the entire dispatcher cache.

 

Refer below blog for the complete Jenkins job code:

https://ravipampana.blogspot.com/2023/06/jenkins-job-to-clear-dispatcher-cache.html

 

@kautuk_sahni 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Community Manager
Community Manager
June 26, 2023

@ravi_pampana This is a wonderful read. Thank you for sharing this. 

Kautuk Sahni