From 858616f075e5a66a5e0973af421a9f300b3b9ce1 Mon Sep 17 00:00:00 2001 From: Inverle Date: Fri, 5 Sep 2025 08:16:52 +0200 Subject: Fixes for no-cache.txt (#7907) * Closes and fixes error from #7885 * `no-cache.txt` is now respected in `f.php`, `ext.php` and `serve` action in `extensionController` * And in all other places that weren't checking for `no-cache.txt` (some extensions maybe) --- p/ext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'p/ext.php') diff --git a/p/ext.php b/p/ext.php index 5fdd3df6c..6642ff2d1 100644 --- a/p/ext.php +++ b/p/ext.php @@ -105,6 +105,6 @@ if ($mtime === false) { require(LIB_PATH . '/http-conditional.php'); -if (!httpConditional($mtime, 604800, 2)) { +if (file_exists(DATA_PATH . '/no-cache.txt') || !httpConditional($mtime, 604800, 2)) { readfile($absolute_filename); } -- cgit v1.2.3