Use delayed_job and expire cache in master