断点续传简介
断点续传是HTTP/1.1协议支持的特性。实现断点续传的功能,需要客户端记录下当前的下载进度,并在需要续传的时候通知服务端本次需要下载的内容片段。
原文链接:https://ma.ttias.be/how-to-clear-php-opcache/
PHP can be configured to store precompiled bytecode in shared memory, called Opcache. It prevents the loading and parsing of PHP scripts on every request. This guide will tell you how to flush that bytecode Opcache, should you need it.
You may want to flush the APC (PHP < 5.5) or Opcache (PHP >= 5.5) in PHP when it has cached code you want to refresh. As of PHP 5.5, the APC cache has been replaced by Opcache and APC only exists as a user key/value cache, no longer a bytecode cache.
Caddy是go语言编写的一款跨平台web服务器,支持window,linux,andorid等操作系统。
它配置简单易用,原生支持 HTTP/2,支持Markdown自动渲染,反向代理,FastCGI,自动创建 Let’s Encrypt 证书等特性,非常适合开发环境使用。更多特性可见官方介绍
原文链接:http://conversation.bigbinary.com/
Bad APIs have one thing in common—they do not handle response status codes effectively.
They all use custom solutions while the status code value can be attached to the HTTP resonse.
This ebook covers when to use what status code and much more.
API user : Hey, I have a problem.
API builder : What’s wrong.
API user : I sent a request to the API to create a user. But I do not see the newly created user.
生活中到处有负能量,当你疲倦时、失望时可以看看这些句子,或许能给你一些力量。这些句子从2012年断断续续收集过来,有的是来自书,
有来自一部电影,有的来自歌词,不一而足。
1、人的眼睛是由黑白两部分所组成的,可是神为什么要让人只能通过黑的部分去看东西?因为人生必须透过黑暗,才能看到光明——《塔木德》
2、一个人要获得实在的幸福,就必须既不太要聪明,也不太傻。人们把这种介于聪明和傻之间的状态叫做生活的智慧——周国平
3、每个圣人都有不可告人的过去,每个罪人都有洁白无瑕的未来