• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?php
2# This resource won't be cached by network layer, but will be cached by appcache.
3header("Last-Modified: Thu, 01 Dec 2003 16:00:00 GMT");
4header("Expires: Thu, 01 Dec 2003 16:00:00 GMT");
5header("Cache-Control: no-cache, no-store");
6header("Pragma: no-cache");
7header("Content-Type: text/plain");
8
9if ($_SERVER['HTTP_IF_MODIFIED_SINCE'] || $_SERVER['HTTP_IF_NONE_MATCH'])
10    header("HTTP/1.1 304 Not Modified");
11else
12    print("Hello, world!\n");
13?>
14