← back to Rentv
press library: cache-bust videos.json fetch so new films appear without hard-refresh
7d6069af1f5b78f2e949edbead87916228ff934d · 2026-07-29 07:38:47 -0700 · Steve Abrams
Files touched
M public/press/index.html
Diff
commit 7d6069af1f5b78f2e949edbead87916228ff934d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Jul 29 07:38:47 2026 -0700
press library: cache-bust videos.json fetch so new films appear without hard-refresh
---
public/press/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/press/index.html b/public/press/index.html
index 4ece3e42..21003877 100644
--- a/public/press/index.html
+++ b/public/press/index.html
@@ -46,7 +46,7 @@
<div class="caps" id="caps"></div>
</main>
<script>
- fetch('/press/videos.json').then(function (r) { return r.json(); }).then(function (data) {
+ fetch('/press/videos.json?v=' + Date.now(), { cache: 'no-store' }).then(function (r) { return r.json(); }).then(function (data) {
document.getElementById('count').textContent = data.count + ' videos';
document.getElementById('groups').innerHTML = data.groups.map(function (g) {
var cards = g.items.map(function (v) {
← 6649775d Add RENTV build slideshow presentation (Steve voice, HyperFr
·
back to Rentv
·
RENTV: add admin login boomer for rentv.agentabrams.com 0c99aca6 →