I am curious as to whether or not anyone knows of a good reference/best practice on how to organize a website's assets.
I have always had a folder for CSS/scripts/images and just dumped everything in there, but this gets out of hand as the site grows.
On the other end of the spectrum I have heard of people creating a css/scripts/images folders in each logical location of the website's hierarchy.
For example, the root contained common CSS, scripts, and images. While different sub folder, (representing different logical locations in the site), had their own set of folders for specific assets.
How do you do it?