Re: Check if django is getting a page from memcache

2010-02-13 Thread Alessandro Ronchi
2010/2/13 Alessandro Ronchi > Thank you. > It seems it's working. > It's strange because some time requests waits 300ms to be processed > (calculated by firefox firebug plugin), and other times (few seconds after) > the same page waits 1.5seconds to begin downloading. > > I'm using mod_python. >

Re: Check if django is getting a page from memcache

2010-02-13 Thread Alessandro Ronchi
2010/2/13 Daniel Roseman > On Feb 13, 4:50 pm, Rob Hudson wrote: > > You can telnet to memcached and run the `stats` command. That'll tell > > you overall hits and misses (plus other info). If you're using > > Django's page caching middleware, you'll see 2 hits per page because > > Django cach

Re: Check if django is getting a page from memcache

2010-02-13 Thread Daniel Roseman
On Feb 13, 4:50 pm, Rob Hudson wrote: > You can telnet to memcached and run the `stats` command.  That'll tell > you overall hits and misses (plus other info).  If you're using > Django's page caching middleware, you'll see 2 hits per page because > Django caches both headers and page content.  Th

Re: Check if django is getting a page from memcache

2010-02-13 Thread Rob Hudson
You can telnet to memcached and run the `stats` command. That'll tell you overall hits and misses (plus other info). If you're using Django's page caching middleware, you'll see 2 hits per page because Django caches both headers and page content. The page load you should see 2 misses. Then all

Check if django is getting a page from memcache

2010-02-13 Thread Alessandro Ronchi
I am not sure django is getting a page from memcached. Is there a way to check it? Thanks in advance, -- Alessandro Ronchi http://www.soasi.com SOASI - Sviluppo Software e Sistemi Open Source http://hobbygiochi.com Hobby & Giochi, l'e-commerce del divertimento -- You received this message be