Came across this after Googling for a solution. For those who are
interested, here's the route I'm using to force the cache flush on Heroku
# utility for flushing cache
get "/flush_cache" do
if memcache_servers = ENV["MEMCACHE_SERVERS"]
require 'dalli'
dc = Dalli::Client.new
dc.flush
end
redirect "/"
end
And instructions for adding it as a deploy
hook: https://github.com/derekeder/FusionTable-Map-Template-Heroku#caching
Derek
On Friday, October 14, 2011 12:31:11 PM UTC-5, Chris Eigner wrote:
>
> Matt,
>
> This is what I did as well. I put it in a route and wired up a Heroku
> deploy hook so the cache is cleared on every deploy.
> http://devcenter.heroku.com/articles/deploy-hooks
>
--
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.