I couldn't find any documentation/checklist about how to set up an LFC
site for production use and obtain most of the speed you claim.
My checklist, built buy try/error, looks like this:
* Changing the secret key in settings.py.
* fastcgi vs. gunicorn (gunicorn seems twice as fast and is way easier
to use).
* caching (memcached, database caching...).
* Optimizing serving static content.
* Nginx-specific tips.
Please keep in mind that it's my first Django project, so some things
may be obvious and some Django references may apply to LFC too.
Now I'm trying to debug a strange error. I want static content not to be
downloaded every time by sending 304 Not Modified instead. Using Firebug
I can see it's behaving like this when I refresh the page but not when I
go to another page. Yet the "Last-Modified" header is present in the
response. But Firefox won't send the "If-Modified-Since" request header.
And even more strange, with an HTTP 200 it replies in 30 ms but with an
304 Not Modified it replies in 200 ms. One would expect the opposite.
Maybe it's just a bug in Firebug.
Anyway, what are your reference documentations and settings for
production environments, and do you use optimizations or tips specific
to LFC?
Thanks,
Herv�