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

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

This article describes the problem and a fix to the issue: W3 Total Cache minify may break WordPress plug-ins, theme or whole website.

~1~

The symptoms

W3 Total Cache may break other WordPress plug-ins relying on javascript or even a theme / website. Typical symptoms are: pictures and galleries not showing at all, players with misplaced buttons / skin, whole pages showing with while text (expecially evident on responsive and fluent themes.

Top candidates for this kind of issue are:

  • Lightboxes (number one at getting broken)
  • Galleries
  • Slide shows
  • Pop ups
  • Some players
  • Highly optimized, popular plug ins in general, like i.e. NextGen Gallery.

 


The causes

The causes for this malfuncion may be several. However some are prominent and may be fixed by following this tutorial.

One of the topmost causes of W3 Total Cache breaking other plug ins is due to a faulty implementation of its Javascript minifying engine. Many of the above listed categories of plug ins come with an already minified and optimized set of Javascript files.

W3 Total Cache should detect this optimization and avoid trying minifying them again. Sadly it does not detect the optimization and so it force-applies its minification on the already minified files. This tends to break them and produce unusable Javascript which in turn causes the affected plug ins malfunctions.

This tutorial attempts avoiding a second minification on the already optimized files. Screenshots will make the whole fixing process a bit easier to follow.

 

Intended audience

This tutorial is meant to an intermediate to advanced audience, if you just started administering WordPress you’ll really have to be cautious and follow this article to the letter!

 

Step 1: backup your W3 Total Cache configuration!

No other WordPress plug in is able to screw up a web site as quickly and effectively as a misconfigured W3 Total Cache. Therefore basic due diligence suggests to save and export the current configuration to a file.

To do so, go to the WordPress administration screen and find the Performance menu. Performance is W3 Total Cache’s menu. You will see a screen similar to the following:

 

W3 Total Cache General Settings Minify

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.