added cache invalidation of single file instead of clearing complete cache