CDN用于蓝图CSS框架 [英] CDN for blueprint css framework

查看:63
本文介绍了CDN用于蓝图CSS框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道免费的CDN蓝图CSS框架

Does anyone know a free CDN for blueprint css framework

推荐答案

从技术上讲,它不是CDN,但是您可以直接链接到github

Well, it's not technically a CDN but you can link directly to github

<link rel="stylesheet" href="//github.com/joshuaclayton/blueprint-css/raw/master/blueprint/print.css"/>
<link rel="stylesheet" href="//github.com/joshuaclayton/blueprint-css/raw/master/blueprint/screen.css"/>
<link rel="stylesheet" href="//github.com/joshuaclayton/blueprint-css/raw/master/blueprint/ie.css"/>

我自己还没有尝试过,也不知道他们是否可以在任何给定的条件下更改它时刻。但这是不必自己托管的解决方案。

I haven't tried this myself, and don't know if they might change it at any given moment. But it's a solution for not having to host it yourself.

对我来说,我会将其放在自己的服务器上,我不想拥有依赖关系,它们是小文件。但是,如果您尝试压缩每毫秒,我会对其进行测试。您的服务器可能会更快,并且已经建立了与它们的连接。

For me, I would put it on my own server, I prefer not to have the dependency, and they are small files. But if you're trying to squeeze every ms I'd test it. Your servers may be faster, and a connection to them is already established.

同时,许多浏览器对每个域都有连接限制,因此您可能会并行下载,而且CDN也很不错,因为用户经常已经缓存了资源(尽管在这种情况下不太可能)。

At the same time, many browsers have a connection limit for each domain, so you may get parallel downloads, also a CDN is nice because the user often has the resource already cached (although, not likely in this case).

我个人不会这样做,除非是Google,Microsoft,Amazon等...,并且他们是专门为此目的将其放在服务器上的。我将Google CDN用于jQuery,这很棒。但是蓝图还不存在。

Personally, I wouldn't do it, unless it's Google, Microsoft, Amazon, etc... and they're putting it on their servers specifically for the purpose. I use the Google CDN for jQuery, and it's great. But Blueprint just isn't there yet.

这篇关于CDN用于蓝图CSS框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆