native handlers for image cache cleanup