Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?php | |
| 2 // Date in the past | |
| 3 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); | |
|
cbentzel
2011/03/16 01:23:28
Why do these matter?
| |
| 4 header("Cache-Control: no-cache"); | |
| 5 header("Pragma: no-cache"); | |
| 6 ?> | |
| 7 | |
| 8 <html> | |
| 9 <head> | |
| 10 <script> | |
| 11 var pageWasPrerendered = false; | |
| 12 | |
| 13 function DidPrerenderPass() { | |
| 14 pageWasPrerendered = true; | |
| 15 return true; | |
| 16 } | |
| 17 | |
| 18 function DidDisplayPass() { | |
| 19 return pageWasPrerendered; | |
| 20 } | |
| 21 </script> | |
| 22 </head> | |
| 23 <body> | |
| 24 <link rel="prefetch" href="prerender_infinite_b.html"> | |
| 25 <a href="prerender_infinite_b.html">B</a> | |
| 26 </body> | |
| 27 </html> | |
| OLD | NEW |