Issue in Heroku

106 views
Skip to first unread message

Pere Villega

unread,
Jun 17, 2012, 4:47:27 PM6/17/12
to memca...@googlegroups.com
Hi,

not sure where to put this so I publish it here. There is an issue in Heroku: when you redeploy an application, the cache is not flushed. This means that stale data is kept in the cache, and there is no way to manually flush it (either via Heroku administration page or telnet connection)

Amit Levy

unread,
Jun 17, 2012, 5:01:31 PM6/17/12
to memca...@googlegroups.com

Hi,
The cache is meant to stay around after redploys (and be accessible from different instances if your application). Your client library most likely supports the flush command which allows you to manually flush the cache. For example, if yoh are using Rails with dalli_cache:

Rails.cache.flush

-Amit

Reply all
Reply to author
Forward
0 new messages