分页: 10/63 第一页 上页 5 6 7 8 9 10 11 12 13 14 下页 最后页 [ 显示模式: 摘要 | 列表 ]
Apr 21


1.概念

Cache-control用于控制HTTP缓存(在HTTP/1.0中可能部分没实现,仅仅实现了Pragma: no-cache)

数据包中的格式:

Cache-Control: cache-directive

cache-directive可以为以下:

request时用到:

| "no-cache"
| "no-store"
| "max-age" "=" delta-seconds
| "max-stale" [ "=" delta-seconds ]
| "min-fresh" "=" delta-seconds
| "no-transform"
| "only-if-cached"
| "cache-extension"

response时用到:

| "public"
| "private" [ "=" <"> field-name <"> ]
| "no-cache" [ "=" <"> field-name <"> ]
| "no-store"
| "no-transform"
| "must-revalidate"
| "proxy-revalidate"
| "max-age" "=" delta-seconds
| "s-maxage" "=" delta-seconds
| "cache-extension"
Apr 8
在重启了外国B的服务器后,发现国内A数据库同步突然停止了,导致国内A服务器复制失败,如下:

国内A就报下面的错误:

090910 22:47:18 [ERROR] Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236)
090910 22:47:18 [ERROR] Got fatal error 1236: Client requested master to start replication from impossible position from master when reading data from binary log
090910 22:47:18 [Note] Slave I/O thread exiting, read up to log mysql-bin.000008, position 753871857

国外B是正常的。
然后我上网找一些一些资料.
出现这样的错误是由于同步数据的位出现错误.shuai也就是错误提示里说明的问题.
Mar 3
其实这个题目我去年也写过.不过想在公司里推行邮件化办公的好处.不过由于去年年底的时候服务商突然倒掉,所以这篇文章也都掉失了.
Feb 12
今天发现“我要安家”已经倒闭了。换句话说,我一年的日记也都没有了。
Feb 3
今日系除夕.转眼又一年了.先回顾这一年我干什么先.

今年重要的事就
1)有了一新家,
2)娶了一个好老婆.
3)从今年春节开始要发红包了.
4)原来我的空间商已经倒闭了.掉失了一年的日志.
5)工作越来越顺心了.

明年的计划?
还没有想好呢.计划中......

分页: 10/63 第一页 上页 5 6 7 8 9 10 11 12 13 14 下页 最后页 [ 显示模式: 摘要 | 列表 ]