I have 2 vhosts on the server: domain.com and static.domain.com. Their docroots are different but static.domain.com uses symbolic links. So /var/www/static.domain.com/images/ is actually a Linux symbolic link to /var/www/domain.com/images/
This is also true for js/ and css/
It works and allows me to keep my application files all in one place under domain.com/. But does this impact Apache performance? Should I use actual files instead of symbolic links? Or is it OK because it's handled by the operating system and not Apache? My understanding of symbolic links in Linux is it's like a pointer in C - it stores the address of the inode or something like that. So it shouldn't affect performance.