What doesn’t make sense is that when I enter the URL into a browser, it goes to the top of the question’s page
Not the case for myself. Using the answer-link in the question my browser ends up looking at the (selected) answer (by Nars).
- Chromium Version 83.0.4103.116 (Developer Build) built on Debian 10.4, running on Debian 10.0 (64-bit)
or is this just buggy behaviour on the server side?
Nothing to do with the server, everything to do with the client browser.
I’m going to deconstruct the whole thing because @justanotheruser cannot accept what I am saying.
The link url is deconstructed into it’s URL scheme as follows:-
-
Can the new Start Screen in v4.2 be reverted to that in v4.1? - #12 by Nars
(the text of the question duplicated within the URL can be removed):
-
Can the new Start Screen in v4.2 be reverted to that in v4.1? - #12 by Nars
(also the answer-part):
-
Can the new Start Screen in v4.2 be reverted to that in v4.1? - #12 by Nars
(using php parse_url() on that gives):
- [“scheme”]=>“https”
- [“host”]=>“ask.libreoffice.org”
- [“path”]=>"/en/question/29139/"
- [“fragment”]=>“post-id-36673”
When the URI in (3) is issued by a browser, it does the following:-
a) It determines the address of the host using DNS
b) It sends a HTTP GET request to the host composed from parts of the URI in (3)
c) The server will respond with a 301 Moved Permanently pointing to the original URI as in (1)
d) The browser repeats previous actions, now using (1)
e) The file-resource at the path arrives at the browser, possibly in a hundred little pieces, and not necessarily in order
f) The browser consults to see whether it (i) has the file-resource already in it’s cache and, if so, (ii) whether that cache can be used
g) The file-resource (either new or as-cached) is shown on-screen; the top of the file is shown at the top of the screen (naturally, only when the browser has both received it & composed it for the screen)
h) When enough of the file-resource has been received as to reach the location of the fragment (and all points in between to the top of the file) then the view can be shifted down to the fragment.
And now, as long as your internet has not lost any vital bits of the file, you should be looking at Nars’s answer. If not, then any problem lies with some combination of your machine / browser / internet-connection. If it can work without a problem for me (and it does) then potentially the same can be true for you.