Search code examples
djangocdnwhitenoise

Testing removal of django whitenoise


In my django microservice, I have copied some of the whitenoise related code along with other code which I don't need because it should get handled at the CDN level. I have removed "whitenoise.middleware.WhiteNoiseMiddleware" from the settings.py but I'm not sure how to check if I need to remove anything else. In simple words, how do I check if my microservice is using whitenoise or not?


Solution

  • You can check your logs. If you see some urls for your static files, then it means your microservice serves static files.