转至元数据结尾 Created and last modified by 转至元数据起始 文件规范 文件必须使用UTF-8编码 命名规范 数据库命名规范 数据库表命名均遵循以下规范: 多个单词用下划线分隔,全部小写,例如:mail_message。 数据库字段命名遵循以下规范: 表字段全部小写,多个 ...
分类:
其他好文 时间:
2017-03-13 14:46:48
阅读次数:
248
构建高并发高可用的电商平台架构实践(上) 一、 设计理念 1. 空间换时间 1) 多级缓存,静态化 客户端页面缓存(http header中包含Expires/Cache of Control,last modified(304,server不返回body,客户端可以继续用cache,减少流量),E ...
分类:
其他好文 时间:
2017-03-08 23:01:20
阅读次数:
230
If-Modified-Since & If-None-MatchIf-Modified-Since,和 Last-Modified 一样都是用于记录页面最后修改时间的 HTTP 头信息,只是 Last-Modified 是由服务器往客户端发送的 HTTP 头,而 If-Modified-Since ...
分类:
Web程序 时间:
2017-02-25 12:20:18
阅读次数:
168
浏览器缓存控制 Last-Modified/ If-Modified-Since 在浏览器第一次请求某一个URL时,服务器端的返回状态码200,内容是客户端请求的资源,同时有一个Last-Modified的属性标记此文件在服务器端最后被修改的时间。 Last-Modified格式类似这样:Last- ...
分类:
其他好文 时间:
2017-02-23 00:00:46
阅读次数:
165
http://blog.jobbole.com/63320/ 30 Python Language Features and Tricks You May Not Know About Posted on Mar 05, 2014 , last modified on May 19, 2014 - ...
分类:
编程语言 时间:
2017-02-05 22:42:38
阅读次数:
294
HoneyPy是一个Python写的低交互式蜜罐,可以通过自定义Plugins的方式来配置不同的场景。这里是一个模拟Nginx空白页面的代码: 效果: HTTP header: HTML: 脚本写得不够完美,对Etag和Last-Modified分析一下,蜜罐就露出马脚~ ...
分类:
其他好文 时间:
2017-01-30 16:16:23
阅读次数:
222
带素材 代码一: <!-- Author: XiaoWen Create a file: 2016-12-12 10:08:02 Last modified: 2016-12-12 11:30:34 Start to work: Finish the work: Other information: ...
分类:
Web程序 时间:
2016-12-12 14:26:22
阅读次数:
265
一个良好的HTTP缓存策略可以显著地增进web应用的性能和其客户端的体验。主要使用”Cache-Control” HTTP response header来完成,配合conditional headers例如”Last-Modified”和”ETag”。 “Cache-Control” HTTP r ...
分类:
编程语言 时间:
2016-12-11 20:51:26
阅读次数:
212
带框拖拽在可视区控制大小: <!DOCTYPE html><html><head><meta charset="utf-8"><title>shmily</title><!-- * @Author: shmily* @Date: 2016-12-05 11:38:54* @Last Modified ...
分类:
其他好文 时间:
2016-12-05 14:11:21
阅读次数:
206
参考地址:https://github.com/ma6174/vimvim/etc/vimrc
"下面是添加F4热键自动加入文件头注释信息
map<F4>ms:callAddAuthor()<cr>‘S
functionAddAuthor()
letn=1
whilen<11
letline=getline(n)
ifline=~‘[#]*\s*\*\s*\S*Last\s*modified\s*:\s*\S*.*$‘
callUp..
分类:
系统相关 时间:
2016-11-15 20:52:15
阅读次数:
379