[TASK] Add a function for clearing the rootline caches