Asset reloading unexpectedly when using reverse proxy unless "private browsing"

I’ve replaced Caddy with nginx for testing and am seeing the exact same thing, so I’m guessing it’s more of a nextcloud or firefox thing and less something that Caddy should work around.