set header expiration date for a http request
Copy this code and paste it in your HTML
<?php // utf-8 script áéççÃ
header("Expires: " . date("r", time() + ( 60 * 60 * 24 * 5 * 1 ) ) ); // 5 dÃas header("Content-Type: application/x-javascript"); ?>
Report this snippet
Comments
Subscribe to comments