maybe we can use http://php.net/manual/en/function.filemtime.php to check for the file creation time and if its different than the cache key time then we clear the cache automaticlly ,
local or production & so we wont need the service provider condition.
maybe we can use http://php.net/manual/en/function.filemtime.php to check for the file creation time and if its different than the cache key time then we clear the cache automaticlly , local or production & so we wont need the service provider condition.