Repeat the process for all the Javascript files. You may usually skip checking the CSS files as they rarely break.
Once finished, press the blue “Apply & Close” button. If you get a message about “Duplicate files” you have to review the files listing for duplicates. In fact some times W3 Total Cache does proposes lists with redundant names but it will only accept unique names when you want to submit your changes.
The large popup window will close. The underlying Minify window now has its “JS” and “CSS” sections filled. Press one of the blue “Save all settings” blue buttons.
W3 Total Cache will now show: “To rebuild the minify cache use the [empty cache] operation. Get minify hints…” at the top of the screen. Press the [empty cache] button or go ahead and completely purge all caches (menu at the top of the screen, under “Performance”). If you have done your work well, you’ll see come to life most if not all of the previously broken plug ins. Congratulations, you are done!
Hi great tutorial!! But I have a problem following your instruction… When I open the Minify:helpWizard I have no showing files. It says:JavaScript:
No files found.Cascading Style Sheets:
No files found.Am I missing something ??? Thank you for your support!!
Daniel Boswellsays
I’m not certain about the other settings in the minify section. Expecially the different options of where to put the files (i.e. before closing head tag) and whether to defer or use async or another option. Could any of those cause a page to break?
You need to go to the Minify Page from the plugin sidebar. Navigation is pretty unclear, since it calls in the same way pages that are different.
(sorry the duplicate comment, but I missed the Reply link)
Trackbacks
[…] 1.插件:Autoptimize(用来minify html,js,css),W3 Total Cache(缓存插件),WP Smush.it(将上传的图片调整为适合屏幕大小的尺寸) Autoptimize开启Optimize HTML Code,Optimize JavaScript Code,Optimize CSS Code以及Save aggregated script/css as static files选项。 W3 Totol Cache开启Page Cache,Database Cache,Object Cache以及Browser Cache选项,均为默认选项。minify选项会导致网页无限加载,尚不知原因。updated on 2/9/2014: 因为我启用了WP Lightbox 2插件,而这个插件里的js脚本已经是minified之后的,故会导致网页crash。From Fix to: W3 Total Cache minify may break WordPress plug-ins, theme or whole website […]
Comments