July 10, 2011 05:59 pm GMT
Original Link: http://css-tricks.com/13261-large-file-on-cdn-or-small-local/
New Poll: Large file on CDN or small file local?
The new poll is up (in the sidebar on the actual site, RSS folks) and it reads:
Would you rather host a 200k file on a major CDN or a 20k file self-hosted?
This requires a little explanation. Let's say the file in question is jQuery UI. On your site, you only need it for it's tabs functionality. You could load a copy of it from Google's CDN like this:
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js"></script>
That file is literally 205k, because it's the…
New Poll: Large file on CDN or small file local? is a post from CSS-Tricks
Original Link: http://css-tricks.com/13261-large-file-on-cdn-or-small-local/
Share this article:
Tweet
View Full Article