WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm just starting to use W3TotalCache and am a little perplexed by how I should load the gobs of javascript and CSS rendering on the site in the question. Adding some of the pre-minified jQuery scripts via the Minified wizard in W3TotalCache breaks them when loading on the site; same with CSS.

When you have a boatload of modules, what are some good rules of thumb when moving around javascript/css for minification?


share|improve this question

I've found that the best method is to do a view source then add the scripts to W3 in the same order they are listed in the source using the same url including the query string.

Most problems are from plugins or themes that output javascript inline. I try to move these to a custom.js file that is always listed last on W3.

If any scripts break when when minified either leave them out of minify or use combine only.

share|improve this answer

I haven't found any rules or guides to go by and every time i used W3TotalCache i simply run "Trail & Error".

The only guide line i have is to include as many scripts and styles as possible without breaking them via he Minified wizard, This saves the browser a few GET calls for each page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.