<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Load jQuery from CDN, fallback to local (for Wordpress)'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 04:57:42 GMT</pubDate>
<item>
<title>aaroncampbell said on 9/6/12</title>
<link>http://snipplr.com/view/61286/load-jquery-from-cdn-fallback-to-local-for-wordpress/</link>
<description><![CDATA[ There are a few problems with this:
* You shouldn't package your own jQuery, just use the one WP came with.  To do this, inside the else just use wp_enqueue_script('jquery')
* An fopen on every front-end page load is pretty heavy.  Maybe cache your results in a persistent cache and only check every 5 minutes?
* Also, the fact that you can open a file from your server doesn't mean your user can open it from their computer.  If there's something wrong with their route to Google apis but not the route between your server and Google apis, they'll still have issues. ]]></description>
<pubDate>Thu, 06 Sep 2012 01:47:57 GMT</pubDate>
<guid>http://snipplr.com/view/61286/load-jquery-from-cdn-fallback-to-local-for-wordpress/</guid>
</item>
</channel>
</rss>