Vahrokh Vain

  • Home ▼
    • Announcements
    • About
  • Games ▼
    • EvE Online – The best space simulation MMORPG
      • EvE Online resources
        • EvE Online tutorials, links, software and resources
        • EvE software reviews
        • EvE downloads
      • Vaerah Vahrokha’s services
        • Services listing
          • Auditing
          • 3rd Party Service, Collateral Holding, Insurance
        • Public Audits Records (PAR)
        • Vahrokh’s Emergencies Relief Trust
        • VAERT thread on the EvE Online forums
        • VEMEX
          • EvE markets auto-cache downloader
        • Companies
      • EvE and real life finance
        • Price Action Trading Course
        • EvEMarketHistoryDump, an EvE markets OHLC data exporter
        • Importing EvE market data in a RL trading platform
        • EvE Online sample trades
        • Best finance books reviews
    • Istaria
    • World Of Warcraft
  • Downloads
  • Technology ▼
    • Computer
      • Tutorials
        • WordPress
          • W3 Total Cache
    • Software
  • Economy and finance ▼
    • CFTC, Forex and general trading disclaimers
    • Price Action Trading Course
    • Market analysis index
    • Best finance books
Vahrokh Vain > Technology > Computer > Tutorials > Wordpress > W3 Total Cache > Fix to: W3 Total Cache minify may break WordPress plug-ins, theme or whole website

Fix to: W3 Total Cache minify may break WordPress plug-ins, theme or whole website

17 August 2013 By dfumagalli

A large popup window will appear and it will look like the following:

 

W3 Total Cache Minify Wizard

 

If you scroll it down you’ll notice how this popup holds two lists: Javascript and CSS. We’ll mostly discuss about the first, since W3 Total Cache’s CSS minification engine tends to not break anything even if you feed it already minified CSS files.

 

Now perform the following actions:

  • For each Javascript and CSS file, scroll to the end of the path and look if it ends with text similar to: “?ver=NN.NN”.
  • Strip those suffixes off both lists as they lower your Page Speed / YSlow / SEO score. You have to remove from the “?” (included) onwards.
  • For each Javascript file, go to the right of the popup and click its relevant “Verify URL” button. Pay triple attention to those files whose name and path clearly indicates one of the malfunctioning plug ins: you are certainly close to spotting what happened to them!
     
  • A popup will appear. Inside it you may see three different contents:
    1. A small view of your website. Looking better at it you’ll see it states it could not find what you were looking for (Page not found / error 404 page). In this case you should triple check you did not remove too much text (see the step above, about stripping the “ver” suffix). If this is the case, the safest course of action is to cancel the whole minification popup and restart working on the Javascript + CSS lists from scratch. It’s also possible you can’t find the file because it belongs to a plug in you had in the past but then removed. The Javascript path usually hints at the plug in the code belongs to, if you see it points to a plug in you don’t have any more, uncheck the relevant “Add” check box to the left of the script name.
       
    2. An “human written” piece of text.

      ~1~
      When you see such nicely indented, often commented text you are usually looking at an human made script. These scripts are the best candidates for minification. You actually have to do nothing here, W3 Total Cache will take care of them.
       
    3. Gibberish or computer generated text. Many of those files have “min” as part of their names, in example:
      “/super-plugin/js/lightbox.min.js”. These are the files you must absolutely exclude from W3 Total Cache minification.
      Look at the picture below: despite it shows a copyright notice in clear text, the bulk of the script consists of “compressed” and almost unreadable gibberish. Those who can understand Javascript will immediately notice how these are indeed Javascript instructions but they are all on one line, without spaces nor carriage returns.

      W3 Total Cache Minified script
      Since these files are the prime candidates to give trouble and since they are already minimized, we uncheck the “Add” checkbox to the left of their name.
       
    Pages: 1 2 3 4

Filed Under: W3 Total Cache Tagged With: dfumagalli, fix, plug in, solution, tutorial, Vahrokh, w3 total cache, wordpress

Advertisment

Comments

  1. Tracy says

    4 March 2015 at 20:00

    Thank you! Finally got minification to work. Really appreciate it!
  2. Ian says

    8 October 2014 at 23:11

    Thanks for the thorough tutorial. Followed every step. W3TC still broke my site.
  3. Arpit Gupta says

    5 August 2014 at 09:26

    help button is not working.
  4. Michele Alise says

    8 July 2014 at 22:05

    Excellent! I was able to minify with success, thank you 🙂
  5. valery says

    16 June 2014 at 19:14

    It works! You saved my life – thank you! 🙂
  6. Enrico says

    8 April 2014 at 16:36

    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!!
  7. Daniel Boswell says

    24 February 2014 at 20:46

    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?
  8. Paolo says

    6 February 2014 at 16:16

    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.
  9. Colleen D. Gjefle says

    5 February 2014 at 20:27

    I may be missing something, but I don’t see a help or wizard link anywhere in the most recent versions of W3, which is 0.9.3.
    • Paolo says

      6 February 2014 at 16:17

      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. wordpress优化方案 | A11riseforme's Blog says:
    2 September 2014 at 12:46
    […] 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 […]

Follow Vahrokh on:

RSS
Facebook
Twitter
YouTube
Follow by Email

Search

Login

  • Lost Password

Topics

  • Announcements (13)
  • Audit (11)
  • Communications (2)
  • Economy and finance (9)
  • EvE audit (11)
  • EvE Online (18)
  • EvE Online (49)
  • EvE public investment record (12)
  • EvE Vahrokh contract (8)
  • EvE Vahrokh investment (6)
  • Featured (9)
  • Games (24)
  • Market analyses (13)
  • Market mechanics (3)
  • Securities (1)
  • Software (5)
  • Trading (22)
  • W3 Total Cache (1)

History

  • January 2025 (1)
  • October 2015 (1)
  • July 2015 (2)
  • February 2015 (1)
  • January 2015 (3)
  • December 2014 (1)
  • August 2014 (1)
  • April 2014 (2)
  • February 2014 (4)
  • December 2013 (1)
  • November 2013 (6)
  • October 2013 (3)
  • September 2013 (1)
  • August 2013 (5)
  • March 2013 (1)
  • February 2013 (1)
  • November 2012 (1)
  • October 2012 (7)
  • August 2012 (2)
  • July 2012 (1)
  • June 2012 (1)
  • May 2012 (4)
  • April 2012 (2)
  • March 2012 (1)
  • February 2012 (10)
  • December 2011 (3)
  • June 2011 (9)
  • May 2011 (7)
  • April 2011 (1)
  • March 2011 (3)
  • February 2011 (7)
  • January 2011 (2)

English Terms of service, legal notice - Contact or request information Privacy

Italiano Richiesta informazioni / contatto - Privacy

Additional copyright notices and credits for the products, media, names and brands featured on this web site

Copyright © 2008–2025 Vahrokh.com - all rights reserved · Log in

Definitioner

1 (OHLC)
Open, High, Low, Close (and sometimes Volume) data, is a finance industry standards format used to represent price evolution during a certain period of time (daily, weekly, hourly...). OHLC data are consumed by financial analysis applications and by charting software to represent price action.
1 (audit)
The general definition of an audit is an evaluation of a person, organization, system, process, enterprise, project or product.
1 (Meta game)
Meta gaming is a broad term usually used to define any strategy, action or method used in a game which transcends a prescribed ruleset, uses external factors to affect the game, or goes beyond the supposed limits or environment set by the game. Another definition refers to the game universe outside of the game itself.
1 (emergent)
Emergent gameplay refers to complex situations in video games, board games, or table top role-playing games that emerge from the interaction of relatively simple game mechanics.
1 (sandbox)
A sandbox game is a type of video game design where a player can roam freely through a virtual world and is given considerable freedom in choosing how or when to approach objectives. Sandbox emphasises a paradigm where, as in a physical sandbox, the user is entertained by his ability to do as they wish creatively and with there being "no right way" of playing the game
1 (discretionary)
A discretionary method is a trading method where little or no mechanical tools and procedures are used to decide the trades. A discretionary trader applies a solid ruleset basing on a flexible interpretation of the market
1 (PLEX)
A Pilot License Extension (PLEX) is an item that adds 30 days of game time to an EvE Online account. It is freely traded like any other in game item. CCP accepts to convert in game PLEXES to real money in case disasters and emergencies happen.
1 (NEISIN)
A New Eden Interstellar Securities Identification Number (NEISIN) uniquely identifies a security. While its structure is identical and strictly compliant with "real life" ISINs, NEISINs are tailored to New Eden investments and contracts.