equal
deleted
inserted
replaced
43 } |
43 } |
44 |
44 |
45 $expiry_date = date('r', get_cron_next_run()); |
45 $expiry_date = date('r', get_cron_next_run()); |
46 |
46 |
47 $etag = sha1($expiry_date); |
47 $etag = sha1($expiry_date); |
48 |
48 |
49 if ( isset($_SERVER['HTTP_IF_NONE_MATCH']) ) |
49 if ( isset($_SERVER['HTTP_IF_NONE_MATCH']) ) |
50 { |
50 { |
51 if ( "\"$etag\"" == $_SERVER['HTTP_IF_NONE_MATCH'] ) |
51 if ( "\"$etag\"" == $_SERVER['HTTP_IF_NONE_MATCH'] ) |
52 { |
52 { |
53 header('HTTP/1.1 304 Not Modified'); |
53 header('HTTP/1.1 304 Not Modified'); |