Skip to content

Commit 7522fcb

Browse files
v2 image quality
1 parent 1f0a286 commit 7522fcb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

site/timelapse.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ <h1 id="side-title"></h1>
8383
const playBtn = document.getElementById("play");
8484
let which = "entered", playing = null;
8585

86-
const frameURL = y => `${DATA}/timelapse_web/${which}/${y}.webp`;
86+
// bump v when frames are re-encoded — busts the 24h edge/browser cache
87+
const frameURL = y => `${DATA}/timelapse_web/${which}/${y}.webp?v=2`;
8788

8889
function renderStats(y) {
8990
const meta = stats[which];

0 commit comments

Comments
 (0)