I know how to deploy the masterpages and styles like css, javascripts, images etc, my question is rather what is the best practice?
As I deploy the all the requisites on a site collection in the style libraries etc by the site collection scoped feature. Activating this feature will activate the styles on this site collection. So for each site collection in style libraries those files will be created.
But in masterpage I can also refer all my css registrations and images etc for a root site collection, this way only activating the feature on the root site collection will aslo affect the other site collections if the master page is applied, and I only will have those files on the root site collection style library.
I'm hesitating between this, of course only activating on the root site collection, will reduce the amount of files in the portal but still ... Of course by doing this I will have everywhere the same layout and styles for all the site collection but that is also the case what I want to achieve.
So should I deploy only on root site collection, or for every site collection differently?