<?php
$url = md5($_SERVER['REQUEST_URI']).".cache";
$adres = "cache/".$url;
$zaman = 15 * 24 * 60 * 60;
if (file_exists($adres)) {
if(time() - $zaman < filemtime($adres)) {
readfile($adres);
exit;
}else {
unlink($adres);
} }
ob_start();
?>
baba naber?
<?php
$dosya = fopen($adres, 'w+');
fwrite($dosya, ob_get_contents());
fclose($dosya);
ob_end_flush();
?>kendine göre link yapısını düzenleyebilirsin üstad, test te ettim problem yok.