It happens for me as well, the filename doesn’t changed when I purge all cache. I ended up add a prefix to the cache filename based on theme version.
/**
* Define Our Themes Version
* this good if we update something and prevent old user browser cache
*/
global $themes_version;
$themes_version = '2.1.2'; // Change this version everytime you change your css/js assets
add_filter('w3tc_minify_urls_for_minification_to_minify_filename', 'w3tc_filename_filter', 20, 3);
function w3tc_filename_filter($minify_filename, $files, $type ){
global $themes_version;
$ver = sanitize_title( str_replace('.','', $themes_version) );
$minify_filename = $ver.$minify_filename;
return $minify_filename;
}
Hope it helps someone