From d31fcb72cc6f6b2d1d798a75ff62d06c4dcd0cb4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Jan 2024 22:25:59 +0300 Subject: add basic cache bust for read.html --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 837a260..18832e7 100644 --- a/index.php +++ b/index.php @@ -257,7 +257,7 @@ $is_read = false; if ($line["epub_id"]) { - $read_link = "read.html?" . http_build_query(["id" => $line["epub_id"], "rt" => $mode, "b" => $line["id"]]); + $read_link = "read.html?" . http_build_query(["id" => $line["epub_id"], "rt" => $mode, "b" => $line["id"], "ts" => time()]); $lastread_sth = $ldb->prepare("SELECT lastread, total_pages FROM epube_books, epube_pagination WHERE epube_pagination.bookid = epube_books.bookid AND -- cgit v1.2.3