There are a few possible reasons for that:
- Some browsers may delete and recreate cache directories during updates. This process often ignores existing symbolic links to a RAM disk and creates a new regular directory in their place.
- Security software or system policies may flag symbolic links in certain sensitive directories as potentially unsafe or unusual, especially in critical system folders. This could trigger the software to replace the symbolic link with a regular folder to restore what it perceives as a "safer" or "expected" configuration.
- Disk cleanup utilities or third-party cache-clearing tools may identify and remove symbolic links, then replace them with regular directories when they clear out cache data, often without preserving the symbolic link structure.
In such cases, the only way to keep the symbolic links in place is to periodically check them and recreate them if needed.