Title: Does the plugin?
Last modified: August 20, 2016

---

# Does the plugin?

 *  Resolved [acrogenesis](https://wordpress.org/support/users/acrogenesis/)
 * (@acrogenesis)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/does-the-plugin/)
 * Does the plugin automatically replace jquery and those wp core js? that are on
   cdnjs
 * [http://wordpress.org/extend/plugins/cdnjs/](http://wordpress.org/extend/plugins/cdnjs/)

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

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403803)
 * Not automatically – you must select which files you want to replace. Once you
   do that, it will replace them automatically for you.
 * Is that the sort of functionality you were looking for?
 * Cheers,
    Paul.
 *  [MacItaly](https://wordpress.org/support/users/macitaly/)
 * (@macitaly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403813)
 * Actually I agree with Acrogenesis, what would be useful is a scan on js in WP
   installation, compare with CDNJS archive and present to admin saying: “These 
   scripts, used in your installation, are available in CDNJS repository, want you
   replace them?”.
    Seems completely useless, time consuming and newbies confusing
   show the whole archive without know what effectively it’s used in that installation,
   don’t you think so? This is not a critique, only an advice for future upgrades.
   Thanks to develop and share this plugin.
 * Mac
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403816)
 * Thanks for the suggestions…
 * The problem is that there’s no way to just “scan” someone’s theme + plugin to
   determine what they have. Just because there’s resources present, doesn’t mean
   they should be included on the site.
 * To learn what is included in an installation, a user can load their site, view
   their source, and pick out the files such as jquery and then go to the plugin
   and replace them. Nothing useless or confusing about that.
 * Many sites don’t even include Jquery by default as it’s not needed.
 * If you know a way to easily “scan” a WordPress site and determine the full list
   of Javascript/CSS includes I’d happily take that code and put into the plugin.
 * One option is to manually compile a list of files that WordPress ships with and
   offer to replace those, but that would mean “newbies”,as you say, would unknowingly
   start including loads of files they don’t even need which defeats the purpose
   of the plugin – which is to speed up a site.
 * This option would also mean it’d need updated upon each WordPress release. That’s
   a lot of manual work.
 * Fundamentally, it’s a great suggestion, and in a perfect world where it is easy
   to code something like, it’d be awesome. But that’s way beyond my skills – unless
   someone can contribute know-how and expertise to doing this. I’m always open 
   to it.
 * Many thanks for the feedback, and I’m sorry if the plugin doesn’t meet needs 
   as I hoped it would. But if it is serving you well, please feel free to help 
   raise its profile by giving it a nice positive review on wordpress.org… that 
   would always be appreciated. 🙂
 * Many thanks,
    Paul.
 *  [MacItaly](https://wordpress.org/support/users/macitaly/)
 * (@macitaly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403821)
 * Hi Paul,
    thanks for answering and for this plugin 🙂 As you say, in a “perfect
   world” this should be the ideal condition but I cannot help on this because I’m
   not a skilled dev and don’t have a method to scan js files. What can I see is
   that if I test a site with i.e. GtMetrix, it shows me a list of used js files,
   so for sure a method exists but I don’t know which one. Hope that somebody can
   help, because could be really useful to easily substitute js scripts, meanwhile
   I’ll try to manually find them from the list. Thanks a lot for assistance.
 * Mac
 *  [CatServant](https://wordpress.org/support/users/catservant/)
 * (@catservant)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403835)
 * > To learn what is included in an installation, a user can load their site, view
   > their source, and pick out the files such as jquery and then go to the plugin
   > and replace them. Nothing useless or confusing about that.
 * Seriously? Even that sentence was confusing and useless because I have no idea
   where any of that is or how to do any of that.
 * Just because some of us know to look for plugins & methods to speed up our sites,
   by no means, means that we have any sort of programmer or developer skills or
   knowledge…_that’s precisely why WP is so popular_.
 * You say that figuring out how to scan a site for code is beyond your skill level;
   try being a person with no coding knowledge that installs your plugin and then
   is faced with 100 options, none of which we’ve ever heard of…and zero instructions
   beyond install and then click activate!
 * Perhaps, at the very least, you could put together a guide & tutorial, maybe 
   even a Help file, so that non-coders could possibly try and follow your above
   suggestions for finding this stuff and telling which kind is which kind, because
   we have no idea. Install, activate, choose stuff is not instructions when it 
   comes to something like this.
 * I installed this plugin because I have an all video site which, as you can imagine,
   needs all the load speed help it can get. I have W3 Total Cache & Cloudflare 
   both on it, and they help massively, but I still get “D” ratings for static content
   caching over on WebPageTest.org. It seemed like your plugin would seriously help
   with this, but it can’t be helpful if I can’t implement it, lol!
 * Please consider putting together some sort of guide/help/tutorial for non-coders
   that really would like to use this to make their sites faster. If you did that,
   so many more people would use this. And from what I’ve read, the more people 
   adopting CDNJS, the better it can work.
 * Thank you for creating this plugin, and I look forward to possibly using it at
   some point, lol!
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403842)
 * Yep, seriously. 🙂
 * The sheer scope of writing a guide for this is huge… but I can give you the basics.
 * – Load your website’s homepage
    – view the source (right-click, view source) –
   search for Javascript files. All the lines like this:
 * <script type=”text/javascript” src=”[http://ABCD.com/XYZ.js”></script&gt](http://ABCD.com/XYZ.js”></script&gt);
 * You want to make a note of all the files like: XYZ.js
 * Now take your list and have a look to see if there are any files on the list 
   that are also on the list of CDNJS files.
 * If they are, try enabling that particular option.
 * Then reload your page. And see if that file has been replaced by a link to a 
   CDNJS file.
 * That’s the basics. 🙂
 *  [CatServant](https://wordpress.org/support/users/catservant/)
 * (@catservant)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403843)
 * Hi Paul,
 * Thank you so much for getting back to me! This is Perfect! See? That wasn’t so
   hard to explain! Try adding a file just like this to the Help file for the plugin
   and people like me could start using it right away!
 * I just clicked “View Source Page” from the right click contextual menu, then 
   right clicked again and selected “Find Again”, typed “.js” into the searchbox,
   clicked “highlight all” and then quickly matched the XYZ.js extensions against
   the list of libraries in the plugin. I did this on a good, average, sampling 
   of my pages & posts to make reasonably sure I found at least the majority of 
   the .js files that had matching libraries available in your plugin.
 * There were just a couple that weren’t available, yet. I’ll just give the quick
   list, do with it what you will…
    Missing: ga (google analytics), gritter, combined,
   show-excerpt, detect-mobile, tracker, video, jRating, and colorbox.
 * Now, about the .css libraries…. I tried the same process with searching “.css”
   but found nothing that matched the css libraries available in the plugin. Since
   there are only maybe 5 choices for css libraries in the plugin, does this work
   the same as the .js libraries, or are the css selections some sort of over-arching
   libraires?
 * Again, thank you for getting back to me with a simple to understand and simple
   to implement answer. That was all I needed and I bet others would really benefit(
   as would CDNJS) from this kind of info being readily available right with the
   plugin.
 * Have a great week!
 *  [dblinks](https://wordpress.org/support/users/dblinks/)
 * (@dblinks)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403844)
 * cF early adopter, love it
 * Question: I have font-awesome as part of my theme (not a plugin). Does it still
   make sense to add/load it from CDNJS with your plugin to speed things up?
 * thx
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403849)
 * Glad this helped you out! I’ll perhaps put this on the FAQ page when I update
   the plugin again.
 * [@stu](https://wordpress.org/support/users/stu/), it depends on how your theme
   is enqueueing the font-awesome… the next update to this plugin would allow you
   to customize under what name the script is enqueued so you can better replace
   what is in your themes.
 *  [Webprom Design](https://wordpress.org/support/users/webprom/)
 * (@webprom)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403895)
 * jsDelivr plugin has a scan mechanism (but doesn’t find many matches :)) maybe
   you can implement it better

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

The topic ‘Does the plugin?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cdnjs.svg)
 * [CDNJS for WordPress](https://wordpress.org/plugins/cdnjs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cdnjs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cdnjs/)
 * [Active Topics](https://wordpress.org/support/plugin/cdnjs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cdnjs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cdnjs/reviews/)

 * 10 replies
 * 6 participants
 * Last reply from: [Webprom Design](https://wordpress.org/support/users/webprom/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/does-the-plugin/#post-3403895)
 * Status: resolved