Search code examples
djangocherokeedjango-media

Strange django media deployment issue


I managed to deploy cherokee as a reverse proxy for a django app running with cherrypy as information source.

All of the static files and media files seem to be served correctly except for a particular image.

On http://mydomain.com/media/files/none.png, I get a

The image "http://mydomain.com/media/files/none.png" cannot be displayed because it contains errors. 

But if I append a ? behind that file's url, it shows up correctly as a 1x1 pixel image.

http://mydomain.com/media/files/none.png?

will give

none.png (PNG Image, 1 x 1 pixels)

which is expected and correct.

Why is this so?


Solution

  • Browser cache problem. Issue solved a while back. Closing this.