Hacker News new | ask | show | jobs
by toddr123 2026 days ago
That’s weird, it looks like you’re getting some old code, or possibly the css didn’t load correctly. Can you force a refresh with Ctrl F5 and let me know if that fixes it? I do most of my testing in Firefox, so it should definitely work, haha
1 comments

Yeah I remember it came up on HN previously, but that was several months ago so I'm surprised it stuck around in the cache that long.

Hard refreshing fixed it, thanks. Sorry about that.

No worries, glad that worked! I have support for offline mode, and even though it's set up to try and get resources from the network first, it seems to often pull from the local cache even when it shouldn't. I'll have to try digging into that issue some more
The biggest difference maker for me is using hashed filenames for non-html resources. That way even if the html caches too long it's at least a coherent experience, and if anything else caches too long who cares, the user doesn't see it anyway.

I don't know what your pipeline looks like or if you're already doing that, but if not it's worth a look.