摘要: HandlerInterceptor是springMVC项目中的拦截器,它拦截的目标是请求的地址,比MethodInterceptor先执行。实现一个HandlerInterceptor拦截器可以直接实现HandlerInterceptor接口,也可以继承HandlerInterceptorAdap 阅读全文
posted @ 2017-10-12 17:15 start枫 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: Mysql的with rollup分组统计功能(5.1以上版本) 阅读全文
posted @ 2017-10-12 15:23 start枫 阅读(291) 评论(0) 推荐(0) 编辑
摘要: MySQL DATE_FORMAT() 函数 阅读全文
posted @ 2017-10-12 14:31 start枫 阅读(423) 评论(0) 推荐(0) 编辑
摘要: MySQL字符串函数:字符串截取 阅读全文
posted @ 2017-10-12 12:31 start枫 阅读(3254) 评论(0) 推荐(0) 编辑
摘要: nginx比较强大,可以针对单个域名请求做出单个连接超时的配置. 比如些动态解释和静态解释可以根据业务的需求配置 proxy_connect_timeout :后端服务器连接的超时时间_发起握手等候响应超时时间 proxy_read_timeout:连接成功后_等候后端服务器响应时间_其实已经进入后 阅读全文
posted @ 2017-10-12 09:13 start枫 阅读(1318) 评论(0) 推荐(0) 编辑
摘要: Proxy_store 跟 Squid 是有区别的!! 最明显的一点在于其不具有expires,无法通过程序控制cache什么时间过期。往后要写个脚本定期删除缓存目录中的内容 以下是配置方式: 如果需要将文件缓存到本地,则需要增加如下几个子参数:proxy_store on;proxy_store_ 阅读全文
posted @ 2017-10-12 00:43 start枫 阅读(406) 评论(0) 推荐(0) 编辑