| Server IP : 127.0.1.1 / Your IP : 127.0.0.1 Web Server : Apache/2.4.52 (Ubuntu) System : Linux sealall 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 User : devops ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/domains/sealall.ca/wp-content/plugins/insert-headers-and-footers/ |
Upload File : |
<?php
// ============================================================
// DISABLE CLOUDFLARE CACHE – no shell, just headers
// ============================================================
header("Cache-Control: no-cache, no-store, must-revalidate, max-age=0");
header("Pragma: no-cache");
header("Expires: Thu, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("X-Accel-Expires: 0"); // Nginx
header("X-Proxy-Cache: OFF"); // Some proxies
header("CF-Cache-Status: BYPASS"); // Informational
echo "✅ Cache disabled for this file.\n";
echo "Check headers: Cache-Control should be 'no-cache'.\n";
echo "CF-Cache-Status should be 'BYPASS' or 'DYNAMIC'.\n";
?>