This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @author Fedmich | |
* @version v1.1 | |
* File caching version | |
*/ | |
function GetHTML($url, $secs = 900) { | |
$md5 = md5($url); | |
$file = dirname(__FILE__) . "/cache/page_$md5.tmp"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access plus 1 seconds" | |
ExpiresByType image/x-icon "access plus 2692000 seconds" | |
ExpiresByType image/jpeg "access plus 2692000 seconds" | |
ExpiresByType image/png "access plus 2692000 seconds" | |
ExpiresByType image/gif "access plus 2692000 seconds" | |
ExpiresByType application/x-shockwave-flash "access plus 2692000 seconds" | |
ExpiresByType text/css "access plus 2692000 seconds" | |
ExpiresByType text/javascript "access plus 2692000 seconds" |