replay in django + apcahce + mod_wsgi ??
- by Adam
I have a simple django page that has a counter on it.
I use Apache2 and mod_wsgi to serve it.
First, when I enter this page, the counter shows 0, as it should.
The second time when I enter the page the counter shows 1 - again, it is the right behavior.
The problem begins now, cause when I enter this page the third time, I get 0 again.
When I refresh it goes between 0, and 1, clearly using some cache or so.
If I wait for some time and then try again, it will show 2, and 3, but will be stuck with those values, till this cache or whatever it is will be flushed, and then the counter continues.
Does somebody knows how I can get it work right (the real scenario deals with getting data from the DB, but the problems with this strange cache are the same).
BTW, I don't have any caching engine set in my django settings.