Sunday, 15 April 2012

ruby on rails - Clear the cache in memcached server on OS X -



ruby on rails - Clear the cache in memcached server on OS X -

i'm running ruby on rails 3.0.6 on os x lion. had setup memcached server instance , caching in development testing purposes. working fine, decided clear out database , see how application ran without data. cleared out, restarted apache, , turned off caching in development mode. went home page, , appeared info cached still, restarted apache, had no effect (keep in mind, there no info in database). killed memcached process (which restarted itself). didn't work. shutdown machine, , started up, , still, info cached.

is there way flush cache? if it's stored in memory, why wouldn't reboot clear cache?

turns out deleting cache folder in /tmp/cache cleared cache. know :)

ruby-on-rails memcached osx-lion

No comments:

Post a Comment