I'm not sure if this belongs here on Server Fault or if it belongs over on Software Engineering, but as this most likely deals heavily with the server side of hosting my website and related files, I believe here may be the better fit. If I'm wrong, please let me know so that we can get the question migrated to the proper location.
Also, I wasn't sure what tags were the best fit either as I'm primarily a software developer and this is my first experience where I haven't had a server team to handle these types of ideas or at least assist with them.
I recently inherited a website that is loaded down with about 1.8GB worth of image files. Most of these are most likely not used anymore, but I don't currently have time to sort through them and determine for sure which ones can stay and which can go.
To top this off, more recently, I've received a request to add about 105MB worth of image files to this already large project. I wouldn't mind at all if we didn't currently store all of these images in source control.
This makes deployments, mapping, branching, and merging very time consuming and tedious and thus I would like a way to separate the content based files from the code files essentially stripping the project to it's bare bones (in the future) and pulling the files from an alternate location that is only updated when needed and eliminating the extra large footprint in source control (and on my hard drive since I currently have 8 different branches of the same complete project on my local machine for development, testing, prototyping, etc.).
Again, I haven't had a whole lot of time to tackle this issue, but with the new request I'd like to prevent myself from contributing to the issue and instead focus my efforts on a long term solution that I can add all of my new content to and slowly transition everything else in when time permits.
The only theory I've come up with so far is creating a sub domain on my web server that is dedicated to holding content files that I can pull via web address from my primary domain. I'm not sure this is a good approach but the way I'm thinking about it might be.
- What would be a solid option that meets best practices to separate this out?
- What are some potential gotchas with this type of separation?
- Currently locked into TFS for source control.
- Would like to remove the images from source control.