If you're blowing away your database, why don't you clear memcached when 
you blow away your database? I don't see how this is a web2py issue.

On Wednesday, May 30, 2012 7:10:13 PM UTC-7, Jonathan Lundell wrote:
>
> I've got an application that uses memcached. I'd like to recognize when 
> web2py gets restarted (mod_wsgi, fwiw) so I can flush my cache. No doubt I 
> can figure something out, but I'm sure I must be missing something obvious. 
> (My motivation: in my development environment, I sometimes blow away my 
> database when installing and starting a new copy of the app, and things get 
> confused when the cache is still holding data from the earlier run.)

Reply via email to