Cache trash handler

ref: https://jira.ez.no/browse/EZP-21845