2 ms·
Question for the peanut gallery: how do you handle user uploaded files that are not in version control if you swap out the whole site? Create post-update, pre-
by dugmartin 17y ago
Question for the peanut gallery: how do you handle user uploaded files that are not in version control if you swap out the whole site?
Create post-update, pre-swap symlinks from inside the new docroot to directories outside of the swapped docroot?
- petervandijck 17y agoSimply don't store user-created content (images) in a folder in your main site, that doesn't scale anyway. Put pictures in pic.mysite.com or something like that (you can map an S3 bucket to that if you like).