WP script versioning breaks cross-site caching?

I am loading JQuery from the google CDN using the following code: wp_deregister_script(‘jquery’); wp_register_script( ‘jquery’, // handle – WP uses this name to refer to script ‘http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js’, array(), // Array of handles representing scripts that this one depends on. false, // Version number – defaults to false. false // false = put script in header, … Read more

W3 Total Cache, RackSpace Cloud Files, and Forcing Downloads [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7 years ago. Improve this question I’m using W3 Total Cache’s CDN connection to RackSpace CloudFiles to serve severall hundred media files. My goal is to get … Read more

What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?

When I run “themes check” , it recommends not to use CDN. I am using Bootstrap CDN this way function underscore_bootstrap_wp_scripts() { /* bootstrap and font awesome and animate css */ wp_enqueue_style( ‘bootstrap_cdn’, ‘https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css’ ); wp_enqueue_style( ‘fontawesome_cdn’, ‘https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css’ ); /* default underscores styles */ wp_enqueue_style( ‘underscore_bootstrap_wp-style’, get_stylesheet_uri() ); /* bootstrap js */ wp_enqueue_script(‘bootstrap_js_cdn’, ‘https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js’,array(‘jquery’),”,true); /* … Read more

COOKIE_DOMAIN setting confusion

I’m upgrading my website and it’s using WordPress. I’m using sub-domain cdn for CDN and it needs to be cookieless. Currently my website is a multi-network of multisites (both are subdirectory installs), with the subdomain www hosting my main music project, and subdomain photo hosting my photography project. The plugin I’m using for that kind … Read more

How to replace regular jquery calls with CDN calls from Google?

I will like to implement a few of the boilerplate template features in one of my instance WordPress. I am trying to figure out how to exchange the regular jquery calls below <script type=”text/javascript” src=”http:/…/wp-includes/js/jquery/jquery.js?ver=1.4.4″></script> <script type=”text/javascript” src=”http://…/wp-includes/js/jquery/ui.core.js?ver=1.8.9″></script> to this: <!– Grab Google CDN’s jQuery, with a protocol relative URL; fall back to local if … Read more