hunio
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [W3 Total Cache] How to change minified css file name?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
Hi Chetna,
My project doesn’t stored the image on it hosting. It just pull from another third party CDN and store the image URL as custom field on the WP side. 🙂
Thanks
Hi Chetna,
Thank you for getting back. Also if I can made a request, would be good if you can add a filter for image that appear on the email that would be great.
Thanks a heap.
Cheers,
PrasHello, any update on this issue?
Thanks,
Pras
Viewing 4 replies - 1 through 4 (of 4 total)