摘要: 1、页面中大量的注释代码、空行会影响页面的加载速度 尽量去除打断的注释代码,及空行;尽可能的使用压缩后的JS、CSS文件,太小的文件没必要压缩 2、有人说CSS样式放在页面的开头,JS文件放在页面的结尾,可以提高页面的加载速度? 从页面的加载、渲染顺序来看好像是有一定的道理,但并不一定,现在大多数浏 阅读全文
posted @ 2016-04-25 16:00 门外客 阅读(1067) 评论(2) 推荐(0) 编辑
摘要: public class PermanentRedirectResult : ViewResult { public string Url { get; set; } public PermanentRedirectResult(string url) { if (string.IsNullOrEm 阅读全文
posted @ 2016-04-25 15:43 门外客 阅读(315) 评论(0) 推荐(0) 编辑