Tweak dalli config for Heroku
Rebuild the cache if any record is created/deleted in DB