WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] CDN serving of Plug-in JS and CSS files (3 posts)

  1. trinityr
    Member
    Posted 1 year ago #

    When running YSlow performance reports. I see that additional plugins that have JS and CSS files do not get served thru the mirror CDN.

    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shCore.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushAS3.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushBash.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushColdFusion.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/third-party-brushes/shBrushClojure.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushCpp.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushCSharp.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushCss.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushDelphi.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushDiff.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushErlang.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/third-party-brushes/shBrushFSharp.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushGroovy.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushJava.js
    http://www.sysadminscripts.com/wp-content/plugins/syntaxhighlighter/syntaxhighlighter2/scripts/shBrushJavaFX.js

    How can I resolve this issue? I would like all JS and CSS files to be served thru the CDN. Even if they are not a part of the theme or WordPress Core.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. trinityr
    Member
    Posted 1 year ago #

    Anyone have any ideas to serve plugin files such as the above listed thru a mirror CDN and W3 Total Cache?

  3. bheadrick
    Member
    Posted 1 year ago #

    by default, the cdn settings are configured to only have your cdn serve up your theme files and image files
    to include plugin files as well, you need to add this to the custom list under advanced:

    wp-content/plugins/*

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic