Cache trace renderings based on file mod time