static-media

help needed with Lighttpd and Apache cofiguration with Django

I am using Django as web framework and then Apache and Lighttpd as web server and static media server respectively. Lighty serves all my static content well and good, but I need to configure it to serve the new files uploaded by the user. Lighttpd is running on a different machine from the Apache(Django) one. My django code of creating ...

Serving static media during Django development: Why not MEDIA_ROOT?

I read this guide about serving static media with Django during development. I noticed that MEDIA_URL and MEDIA_ROOT were not used in this. Why? What's the difference? I tried doing it with MEDIA_URL and MEDIA_ROOT, and got weird results. ...

Speeding up site using gzip and far-future expiration dates.

I recently deployed a site http://boardlite.com . One of the tester websites http://www.gidnetwork.com/tools/gzip-test.php suggests that gzip is not enabled for my site. YSlow gives an A grade for Gzip but does not mention that gzip is on. How do I make sure the site properly implements Gzip. I am also going to enable far-future expiry ...