diff options
author | Andrew Dolgov <[email protected]> | 2024-01-12 22:25:59 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2024-01-12 22:25:59 +0300 |
commit | d31fcb72cc6f6b2d1d798a75ff62d06c4dcd0cb4 (patch) | |
tree | d89a5b287491f11ce1c39d44016bd8d2e52a456a | |
parent | 6664e3ec4c3feabbbb96cd5e9c0b618b7fb9cbfc (diff) |
add basic cache bust for read.html
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |