GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NodeBeginnerBook/footer.php at master · gsty/NodeBeginnerBook Expand file tree/ Copy pathfooter.phpMore file actions 18 lines (15 loc) · 554 Bytes / Copy pathfooter.phpFile metadata and controls18 lines (15 loc) · 554 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <?php $output = ob_get_clean(); // Gesamte Ausgabe, die an den Client gesendet werden soll, abfangen und zwischenspeichern $etag = '"'.sha1($output).'"'; // Prüfsumme der Ausgabe berechnen// Ist der Inhalt identisch mit dem, den der Client gecached hat? if ($_SERVER['HTTP_IF_NONE_MATCH'] == $etag) // Wenn ja, dann sende nur den Status 304 { header('HTTP/1.x 304 Not Modified'); header('Etag: '.$etag); die(); } else // Wenn nicht, dann sende den Inhalt inkl. des neuen Etags { header('Etag: '.$etag); echo $output; die(); } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |