Enable CDN for Jquery

Topics: Writing themes
Feb 16, 2013 at 3:37 PM
I read discussion and still unclear on the correct way to get JQuery and other scripts to come from a CDN versus local.

I tried using a IResourceManifestProvider and changing the IResourceManifestProvider of the JQuery module, but what is written in html is always the local copy

I tried Debug and Release mode and this is what is written when using Script.Require("JQuery")
<script src="/OrchardLocal/Modules/Orchard.jQuery/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>

Also I noticed in the JQuery Module there is setCDN is there a mode that needs to be set so it uses the links provided>