What you say makes sense, and I can see that it is a security issue, how come it would allow me to use a cached profile while I was not connected to the domain before.

Because that's just talking about your local profile (basically your desktop, wallpaper, and start-menu), not the security trust relationship between the workstation and the domain controller. Two different issues.
_________________________
Tony Fabris