separation of concerns principle I serve static assets from a different domain since:
- cors headers are not needed
- same file may be requested in multiple websites
- access management is easier
I saw many topics regarding moving the uploaded files to a cdn, but I didn’t saw any concern about the option to specify a custom location for uploaded files inside local machine.
I think the above mentioned option is one that should be considered a must have by default.