New answers tagged cdn
I did manage to get this to work. Here are the details of what I did in case you want to do the same thing: https://gist.github.com/kingkool68/7421460
switch your function wp_register_script for immediate call of wp_enqueue_script. Now, even though you are registering jquery and calling it through wp_enqueue_script, you are passing as an URL empty string, that is why you do not get it enqueued.
This can not work in the way you want. If wordpress is on example.com then all the auto generated links will point to example.com even for pages that are on the CDN under the www.example.com domain. This will result that after the first page being served from the CDN many other pages will be served directly from wordpress. from inspecting the code, the ...
Top 50 recent answers are included