[FEATURE] Clear cache whenever file is replaced

Change-Id: Ieb0e6b3191cba400e868932f1861c4c4d4566206