Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • For SyntaxHighlighter version 3, the complete list of JavaScript files you need to prevent Total Cache from minifying are:

    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shAutoloader.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushAppleScript.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushAS3.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushBash.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushColdFusion.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCpp.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCSharp.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCss.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushDelphi.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushDiff.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushErlang.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushGroovy.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJavaFX.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJava.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJScript.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPerl.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPhp.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPlain.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPowerShell.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPython.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushRuby.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushSass.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushScala.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushSql.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushVb.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shLegacy.js

    This includes all the language included in the plug-in

    I’ve posted a possible workaround on the same thread mentioned above.

    You may need to adjust the url given in my previous post if your SyntaxHighlighter setting is set to use version 2.

    You can try the following workaround:

    Assuming your wordpress is located in a subfolder called site, you can configure W3C Total Cache to never minify the following js files:

    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js
    /site/wp-content/plugins/syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCss.js

    You will need to clear you minify cache after updating the settings.

Viewing 4 replies - 1 through 4 (of 4 total)