I store WinSCP settings in the registry, and when I make backups by exporting the branches like
HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration
the backup file is quite large (~1Mb) because of the CDCache node. If I clear it the reg-file become quite small. Of course, the same info is stored in the registry and it is no good to store so much info there.
1. WinSCP seems not to delete CDCache nodes of deleted sessions. If I delete a session its node in CDCache is still there. Thus if I use WinSCP for years, the CDCache node only keeps growing.
Also, the CDCache node stores info based on the username / the server IP, like firstname.lastname@example.org. But if I edit a session's IP / username (sometimes that happens) the old node is probably not changed / deleted, while it should be. Hence the CDCache node unnecessarily grows again.
2. Why have CDCache at all?! I need it within a session for history, to be able to go back and forth. But can I ever make use of it if I restart a session?! If not, why keep the old info?!
Reply with quote