Fixed cache update on mtime change