Anyone have a technique of cleaning up completed website files that are no longer used? Do you leave them, or search and destroy? If “search and destroy” is your choice, what is the best method to accomplish this without compromising the site’s integrity?
Can you give a little more info? Do you mean all the project files once the site is launched? I would never delete them and actually make sure I have good backups of everything. Even if a site has been closed down, I would keep all the project files in case it either needs to be resurrected or to refer to if I ever need to do the same thing again.
The files to which I refer are all those that are out of date, or no longer relative to the current site. I’m just checking how my fellow Wappler users clean up after a site is completed. I usually leave all the riffraff in place.
What I am thinking about doing is putting some of these sites in Github. I would like to make certain that I do not upload the riffraff. So I thought I would ask what the more experienced site architects do.
Aah, I’m with you now. I would delete them from the live server (and dev server, etc.) but use Git so they will always be available to go back to if ever needed.