/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$cachefile = 'cache.html'; $cachetime = 4 * 60; // Serve from the cache if it is younger than $cachetime include($cachefile); exit; } /* Heres where you put your page content */ // Cache the contents to a file
Comments
