简体   繁体   English

公用资源的公共URL

[英]public URLs for common resources

I have been told that a great way to decrease the load on my own site is pointing known CSS and JS to public URLs. 有人告诉我,减轻我自己网站负载的一种好方法是将已知的CSS和JS指向公共URL。

For instance, JQuery or Blueprint. 例如,JQuery或Blueprint。 This allows caching as it is very possible that the user has visited previously other page pointing to the same scripts/stylesheets. 这允许进行缓存,因为用户很可能以前已经访问了指向相同脚本/样式表的其他页面。

I would like to have a list of those public URLs, I think this question can become a good reference. 我想列出这些公共URL,我认为这个问题可以成为一个很好的参考。 I am particularly interested in Blueprint 我对蓝图特别感兴趣

Someone asked the same question for blueprint before: CDN for blueprint css framework 之前有人对蓝图提出了相同的问题: CDN用于蓝图CSS框架

Here you can find more common use lib: http://code.google.com/intl/en-US/apis/libraries/devguide.html 在这里,您可以找到更常用的lib: http : //code.google.com/intl/zh-CN/apis/libraries/devguide.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 公共目录中的资源不可用 - Resources in public directory not available 包含js和CSS资源的URL损坏 - Broken URLs for including js and css resources 有没有办法对普通用户隐藏图片网址? - Is there a way to hide the image urls from the common user? 从 RESTFUL URL (Ablate the resources) JS 中提取公共查询路径 - Extract the common query path from RESTFUL URL (Ablate the resources) JS 如何为在本地运行的所有有角度的项目共享公共资源? - How to share common resources for all angular projects that run locally? 有没有办法以编程方式从Google云端硬盘公用文件夹中读取图像的URL? - Is there a way to programmatically read the URLs of images from a Google Drive Public Folder? 如何在构造函数中使用公共公用函数访问私有变量 - How to access a private variables using a common public function within the constructor 什么时候结合常用功能? -带有初始化的公共静态对象 - When to combine common functionality? - A public static object w/ initialization 如何在网页静态资源的URL中添加“版本”查询字符串? - How to add “version” query strings to the URLs of the static resources of a web-page? SvelteJs 路由中的尾随反斜杠 - 更改公共文件夹中 static 资产的请求网址 - Trailing backslash in SvelteJs routes - Changing Request Urls of static assets in public folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM