jws.dev changelog
Travel photographs survive an outage
Each destination now keeps a copy of its recent photographs in the build, so the carousel shows them straight away and refreshes itself once the photo host answers.
The recent photographs on each destination page come from my photo host, fetched in the reader’s browser. When that host was unreachable, the carousel had nothing to show and said so.
Every build now saves the current list for each destination into the page itself. The carousel draws those immediately — no waiting, no empty frame — and then asks the host for anything newer, keeping its own copy in the browser and preferring whichever is more recent. If the host cannot be reached, the page says plainly that it is showing saved photographs rather than pretending to be current.
A build that cannot reach the host leaves the previous saved list alone rather than recording an empty one.
