I'm working on my first website right now, and when I'm updating a file (uploading the newest version to the server), for example the stylesheet or a .php
file, and I try to load the page halfway through it being uploaded/changed, I get a blank screen or broken CSS. Sometimes the cache has to be cleared for the correct stylesheet to load.
When pushing updates to users, how can this be prevented?