加载中
H5音频不能自动播放的问题

原因 1. https://developers.google.com/web/updates/2017/09/autoplay-policy-changes 2. The Web Audio autoplay policy will be re-enabled in Chrome 70 (October 2018). Please check t...

2018/09/28 11:56
7.9K
地图引擎:代替百度地图、高德地图等

https://leafletjs.com/ Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. Weighing just about 38 KB of JS, it has all the mapping featur...

2018/09/25 14:51
410
nginx log记录请求响应时间

UPDATE: 如果发现日志服务不正常,可以查看Log文件 /usr/local/ilogtail/ilogtail.LOG UPDATE: 2018.10.22 阿里云对默认nginx log的分析功能详细介绍。 有时为了方便分析接口性能等,需要记录...

2018/09/22 12:03
6.7W
HTTP code为200同时 content-length为0的原因

正常情况下http响应码为200时,Content-length肯定不会为0,除非响应码是304,即浏览器有缓存时,服务器并不会输出内容体,只是返回状态码,浏览器直接从自己的缓存取数据。但,万事都没有绝...

2018/09/21 10:00
5.5K
Nignx缓存文件与动态文件自动切换的配置

下面这段nginx的配置脚本的作用是,自动判断是否存在缓存文件,如果有优先输出缓存文件,不经过php,如果没有,则回到php去处理,同时生成缓存文件。 PHP框架是ThinkPHP,最后一个rewrite有关...

2018/09/21 00:22
156
HTTP status code 499

HTTP 499 in Nginx means that the client closed the connection before the server answered the request. In my experience is usually caused by client side timeout. As I know it's a...

2018/09/20 19:25
1.4K
LOADING Redis is loading the dataset in memory

Redis出现错误 LOADING Redis is loading the dataset in memory 原因1:redis中dump.rdb文件到达3G时,所有redis的操作都会抛出此异常。解决方法:redis.conf中 maxmemory 调大,同时开启转...

2018/09/20 14:32
3.9K
给history命令添加记录执行时间的方法

在/etc/profile文件加加入一行 export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S " 同时也在shell上执行上述命令 之后运行的命令就会记录到执行日期了,之前的命令不会记录。 如果想查看某进程启动...

2018/09/15 19:01
118
thinkphp 5.0+ 的 Behavior行为AOP

本文介绍如何在thinkphp 5.0+中自定义标签拦截器(即自定义AOP行为) 1、定义一个Behavior处理器\application\index\behavior\Privilege.php namespace app\index\behavior; class Privilege...

2018/09/07 00:26
2.9K
charles与iphone抓包

环境Mac OSX 10.13.6,iPhone 11.4.1,charles 4.2.6 1、下载最新版charles 4.2.6 2、配置charles代理,基本上是默认选项 3、检查mac的防火墙设置 系统偏好设置-安全性与隐私-防火墙,解锁后...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部