http协议的Last-Modified
2024-08-28 05:49:06
$modified_time = $_SERVER['HTTP_IF_MODIFIED_SINCE'];
if (strtotime($modified_time) + 3600 > time()) {
header("HTTP/1.1 304");
exit(1);
}
header('Last-Modified:'.gmdate("D, d M Y H:i:s")."GMT");
echo time();
最新文章
- 1.初始Windows Server 2012 R2 Hyper-V + 系统安装详细
- ios textfield / textview长按复制粘贴中文显示
- laravel 的.env 配置文件
- imx6q uboot启动流程牛人的图片(转)
- OpenCV GPU CUDA OpenCL 配置
- Sping mvc 环境下使用kaptcha 生成验证码
- PHP中Array关于数组的用法
- jquery mobile最棘手的一个问题
- C# 字符串转换值类型
- Oracle命令(一):Oracle登录命令
- CentOS 6.5 + Nginx 1.8.0 + PHP 5.6(with PHP-FPM) 负载均衡源码安装 之 (三)Nginx负载均衡配置
- NDepend 3.0已与Visual Studio集成
- Arduino线程库ProtoThreads
- was cached in the local repository, resolution will not be reattempted until the update interval of fintech has elapsed or updates are forced
- 「2017 山东一轮集训 Day5」苹果树
- cf1133 bcdef
- C#方法过滤器
- Hadoop: Add third-party libraries to MapReduce job
- js中对话框的使用
- postgresql----INSERT
热门文章
- TOJ4168: Same Digits
- iOS-----openGL--openGL ES iOS 入门篇--->;搭建openGL环境
- 【bzoj2802】[Poi2012]Warehouse Store 贪心+堆
- 基于openstack stable queens版本阅读解析
- [HDU4362] Palindrome subsequence (区间DP)
- iOS-跨界面传值和跨应用传值
- [转] Makefile 基础 (10) —— Makefile 后序
- hdu 2999 sg函数(简单博弈)
- Codevs 3578 无线网络发射器选址== NOIP 2014 Day2 T1
- 学习在requirejs下如何使用underscore.js模板