Comment

Comment by forgotmypw17

One challenge I've experienced recently is I can't figure out how to hint to the browser that it should refresh a particular cached page. (Without appending ?time=1634851491 to the URL.)

For example, let's say I've already cached the page /new.html

Now, I click a button which triggers a change to the page, and I am redirected back to it.

Even though the page has changed, and the browser should see a new timestamp in the header if pinging the server, it just doesn't seem to happen.

Has anyone dealt with this before? I tried to ask on StackOverflow, but lately my questions don't seem to get any attention, and I've run out of reputation to spend on bounties.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton