Delete Cache.NDK in HCL Notes Client

Hi All,

Quick question!!!

As all of us know that many HCL Notes client issues will resolve after deleting the cache.NDK file. Am wondering, is there a way to automatically delete this file upon restarting the Notes Client. Really this will help to avoid getting calls from users to support team.

Thanks

Not sure of deletion of cache.ndk on restart as this might needs to developed within Product code, but there is an enhancement for same to provide option to delete it from menu preferences.

Check the link below -->

https://domino-ideas.hcltechsw.com/ideas/NTS-I-661

Request you to vote for same.

Additionally, cache.ndk might be resolution for many issues but it has certain usage as well.

In order to speed up the processing of Notes client, the Cache.NDK holds information such as design information of server database, etc .
Cache.NDK also contains unread document information, etc for managing unread documents between replicated databases.
The information that is accessed once is stored in Cache.NDK as cache. Then the processing time gets shortened when next time access happens.
If there is a difference (inconsistency) between the cached information and the information on the server side/client side, then problems will occur.
This difference (inconsistency) might have occurred due to Notes processing problem, but it also possible that is occurred due to data loss because of network problem,
or maybe the CACHE.NDK file could not be updated due to an OS level problem. Unfortunately, the cache difference (inconsistency) problems due to these things have not been completely
resolved, and it is possible that cache inconsistency may still occur.
If this problem occurs, then delete Cache.NDK and restart the Notes client and the problem gets resolved.

Regards,

Amit Sharma

You could start the Notes client using a batch file, which deletes this file and then starts Notes, BUT the cache makes a lot of sense and helps to work faster.

Hello,

As said by Amit deletion of cache.ndk on restart as this might needs to developed within Product code, but there is an enhancement for same to provide option to delete it from menu preferences.

You can make some limit for increasing cache.ndk this may help you. Please refer the below article which gives you all details of Cache. Hope this would help you.

https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0037252

Thank you.

Sujit

Perhaps an option would be to have the cache.ndk removed as part of a NSD crash process? It seems weird things happen after a Notes client crash and shutting the client down and removing the cache.ndk seems to resolve it?

Hello emailsupport wac!

Answering your question, there is no native way on Notes to delete cache.ndk automatically.

In fact this "deletion task" is not expected.

As commented by Thomas Bahn, you should to use some action external to Notes (a batch, a script, etc) to achieve this goal.

Regards!​

Rodrigo de San Vicente

Staff Software Engineer

Collaborative Workflow Platform

I certainly agree that the CACHE.NDK file should not be deleted on open of the client ( very inefficient ). This being said, if the client should crash, I think a good step of the NSD process should be to remove the CACHE.NDK so when the client starts again it can regenerate what could possibly be a corrupt CACHE.NDK and save the support call to the Help Desk.

Yes, you can actually do that.

Have a look at my blog entry: Automatic "one time" deletion of Cache.ndk at start

/Jesper Kiaer