Community Forums › Forums › Archived Forums › General Discussion › Problems using W3 Total Cache plugin & Genesis
Tagged: Midify
- This topic has 3 replies, 3 voices, and was last updated 11 years, 3 months ago by Bill Murray.
-
AuthorPosts
-
January 15, 2013 at 11:54 pm #12224settledinMember
Hi,
I am using WordPress 3.5 of course and latest Genesis 1.9 and the enterprise theme on:
I use the W3 Total Cache for optimising and speeding up the site. It was working perfectly until the latest Genesis updates. Now it removes all theme layout and the page looks absolutely terrible.
After much experimentation it turns out is the minify function that is ruining the site. Now with minify turned off the W3 Total Cache again works properly though turning off minify means it isn't quite speeding things up as much.
Any idea what is going wrong with minify and Genesis?
Dale.
January 16, 2013 at 12:35 am #12237Bill MurrayMemberMinify is one of the trickiest areas of setting up W3TC. Some JS is already minified. Some CSS breaks when minified. The order in which the files are loaded can also determine whether things work or not. Getting it to work is largely based on experience; that is, if you set up W3TC on a lot of sites, you quickly learn which configurations work and which ones break things for a set of common plugins. Your best bet is to do your minification testing in stages where you minify 1 or 2 things, then test, and if the test passes, try to minify more. If all else fails, you can ask @williejackson on twitter very nicely to give you a few pointers.
FYI, minification is probably one of the least important elements for speeding up a site. I run a network and don't use W3TC and don't do any minification and produce enviable speed that would be hard to match with even a lot of tinkering on W3TC settings. If I were you, I'd focus very little time on minification and more time on converting post/page content to static HTML so you can bypass PHP. That's where the real speed gains are.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
January 17, 2013 at 7:50 pm #12772edgardoMemberHi i'm using W3TC but the add script in JS minify settings : & Add a style Sheet
in CSS minify settings: dont work
or the button next to
in the general settings :-
Minify:
Enable
Minification can decrease file size of HTML, CSS, JS and feeds respectively by ~10% on average.Minify mode:
Auto Manual
Select manual mode to use fields on the minify settings tab to specify files to be minified, otherwise files will be minified automatically, but will not use the CDN.Minify Cache Method:
Disk Opcode: Alternative PHP Cache (APC) Opcode: eAccelerator Opcode: XCache Opcode: WinCache MemcachedHTML minifier:
Default HTML TidyJS minifier:
JSMin (default) YUI Compressor Closure CompilerCSS minifier:
Default YUI Compressor CSS TidyAnd in the midify Settings : -
HTML minify settings:
Enable
Inline CSS minification
Inline JS minification
Don't minify feeds
Line break removalIgnored comment stems:
Do not remove comments that contain these terms.
JS
JS minify settings:
Enable
Combine only after <head>
Combine only after <body>
Combine only before </body>
Preserved comment removal (not applied when combine only is active)
Line break removal (not safe, not applied when combine only is active)JS file management:
Theme: Classic Default Genesis Landscape Child Theme (active) Midnight Child Theme Twenty Eleven Twenty Ten
Files are minified by template. First select the theme to manage, then add scripts used in all templates to the "All Templates" group. Use the menu above to manage scripts unique to a specific template. If necessary drag & drop to resolve dependency issues (due to incorrect order).CSS
CSS minify settings:
Enable
Combine only
Preserved comment removal (not applied when combine only is active)
Line break removal (not applied when combine only is active)
@import handling:
None Bubble ProcessCSS file management:
Theme: Classic Default Genesis Landscape Child Theme (active) Midnight Child Theme Twenty Eleven Twenty Ten
Files are minified by template. First select the theme to manage, then add style sheets used in all templates to the "All Templates" group. Use the menu above to manage style sheets unique to a specific template. If necessary drag & drop to resolve dependency issues (due to incorrect order).Advanced
Update external files every:
seconds
Specify the interval between download and update of external files in the minify cache. Hint: 6 hours is 21600 seconds. 12 hours is 43200 seconds. 24 hours is 86400 seconds.Garbage collection interval:
seconds
If caching to disk, specify how frequently expired cache data is removed. For busy sites, a lower value is best.Never minify the following pages:
Always ignore the specified pages / directories.
Rejected user agents:
Specify user agents that will never receive minified content.
Any ideas ?
Kind Regards
January 17, 2013 at 11:24 pm #12804Bill MurrayMember@edgardo - Your best bet is posting this question in the plugin's support forum on the WP repo. It will get more exposure there. If the basic button functionality of your WP site isn't working, that might be a JS conflict, so you'll want to get that sorted out before trying to resolve W3TC configuration. If all else fails, Frederick Townes (the plugin dev) does offer a paid configuration service that's pretty affordable. You can reach him on Twitter @w3edge
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.