三者情况有什么区别和联系,什么情况下会发生200 from memory cache 或 200 from disk cache 或 304 Not Modified? 200 ... ...
分类:
系统相关 时间:
2017-06-11 14:57:12
阅读次数:
261
1、DNS 解析,使用 CDN,把资源请求分散到多个域名上去; 2、理解 HTTP Headers (Expires、Cache-Control、If-Modified-Since) 3、Steve Souders 的所有高性能网页优化规则(参考:High Performance Websites ...
分类:
Web程序 时间:
2017-06-10 20:22:16
阅读次数:
172
原文 通过chattr设置档案的隐藏权限 [root@sdc ~]#chattr --helpUsage: chattr [-RV] [-+=AacDdijsSu] [-v version] files... 参数或选项描述:-R:递归处理,将指定目录下的所有文件及子目录一并处理。-V:显示详细过程 ...
分类:
系统相关 时间:
2017-06-09 19:14:19
阅读次数:
299
在修改表字段的NUMBER类型的精度或刻度时,你可能会遇到ORA-01440: column to be modified must be empty to decrease precision or scale,下面介绍一下,如何处理这个问题。测试案例如下: SQL> drop table tes... ...
分类:
其他好文 时间:
2017-06-08 10:47:01
阅读次数:
377
Content-Type,内容类型,一般是指网页中存在的Content-Type,用于定义网络文件的类型和网页的编码,决定浏览器将以什么形式、什么编码读取这个文件,比如用PHP输出图片文件、JSON数据、XML文件等非HTML内容时,就必须用header函数来指定Content-Type,才... ...
分类:
其他好文 时间:
2017-06-07 19:54:38
阅读次数:
297
12 what is a stakeholder. 11 what kind is UML? UML is a seminotation way. 10 List notation ways for architecture documentation and give their differen ...
分类:
其他好文 时间:
2017-06-07 10:15:37
阅读次数:
275
定义缓存是由header头决定:一共4种、Cache-Control 、Expires 、Last-modified 、ETag 一、Cache-Control的可能取值: 1、max-age(单位s):指定设置缓存的最大的有效时间,定义的是时间长短。当浏览器向服务器发送请求后,在max-age这段 ...
分类:
其他好文 时间:
2017-06-06 23:29:34
阅读次数:
233
以下内容引用自http://wiki.jikexueyuan.com/project/jsp/http-status-codes.html: HTTP请求格式和HTTP响应消息的格式一样,都有以下结构: 一个初始状态行+CRLF(回车+换行,即新行) 零个或多个标题行+CRLF 一个空行,即一个CR ...
分类:
Web程序 时间:
2017-06-06 18:42:18
阅读次数:
346
本地YUM源制作 YUM(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地 ...
分类:
其他好文 时间:
2017-06-06 13:07:22
阅读次数:
227
C# 内存模型 This is the first of a two-part series that will tell the long story of the C# memory model. The first part explains the guarantees the C# mem ...