$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. 1.初始Windows Server 2012 R2 Hyper-V + 系统安装详细
  2. ios textfield / textview长按复制粘贴中文显示
  3. laravel 的.env 配置文件
  4. imx6q uboot启动流程牛人的图片(转)
  5. OpenCV GPU CUDA OpenCL 配置
  6. Sping mvc 环境下使用kaptcha 生成验证码
  7. PHP中Array关于数组的用法
  8. jquery mobile最棘手的一个问题
  9. C# 字符串转换值类型
  10. Oracle命令(一):Oracle登录命令
  11. CentOS 6.5 + Nginx 1.8.0 + PHP 5.6(with PHP-FPM) 负载均衡源码安装 之 (三)Nginx负载均衡配置
  12. NDepend 3.0已与Visual Studio集成
  13. Arduino线程库ProtoThreads
  14. was cached in the local repository, resolution will not be reattempted until the update interval of fintech has elapsed or updates are forced
  15. 「2017 山东一轮集训 Day5」苹果树
  16. cf1133 bcdef
  17. C#方法过滤器
  18. Hadoop: Add third-party libraries to MapReduce job
  19. js中对话框的使用
  20. postgresql----INSERT

热门文章

  1. TOJ4168: Same Digits
  2. iOS-----openGL--openGL ES iOS 入门篇--->搭建openGL环境
  3. 【bzoj2802】[Poi2012]Warehouse Store 贪心+堆
  4. 基于openstack stable queens版本阅读解析
  5. [HDU4362] Palindrome subsequence (区间DP)
  6. iOS-跨界面传值和跨应用传值
  7. [转] Makefile 基础 (10) —— Makefile 后序
  8. hdu 2999 sg函数(简单博弈)
  9. Codevs 3578 无线网络发射器选址== NOIP 2014 Day2 T1
  10. 学习在requirejs下如何使用underscore.js模板