// Set Cache-Control header header("Cache-Control: max-age=604800, public"); // Set Expires header for one week in the future $expirationDate = gmdate("D, d M Y H:i:s", time() + 604800) . " GMT"; // 604800 seconds = 1 week header("Expires: $expirationDate"); ?>