Deployment + CDN? #90
-
DescriptionWe've recently migrated from gunicorn to Daphne so I've also switched to using ServeStatic from Whitenoise, thanks for making that transition so seamless. I've now been evaluating serving static assets via CDN. We're deployed on AWS ECS so during a deployment we can have multiple versions of the application running in parallel. My assumption is that this open issue from Whitenoise applies to ServeStatic as well. Is that right? Or have you made adjustments to be able to use a CDN with that kind of deployment setup? If not it seems like we'll want to switch to uploading our static files to s3 instead of serving them from django |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
This is my interpretation of the issue:
Due to technological limitations, I don't think there is a way to automatically resolve this within ServeStatic. However, you can prevent this scenario by modifying your deployment process. The first two options are only possible on ServeStatic and not within WhiteNoise.
|
Beta Was this translation helpful? Give feedback.
This is my interpretation of the issue:
Due to technological limitations, I don't think there is a way to automatically resolve this within ServeStatic. However, you can prevent this scenario by modifying your deployment process. The first two options are only possible on ServeStatic and not within WhiteNoise.