I'm trying to speed up a Moodle instance (an LMS). I know for certain that users will likely go on their last accessed course, so I'm trying to use link prefetching to download the course page in advance:
<link href='https://moodleexample.io/course/view.php?id=3' rel='prefetch' />
<link href='https://moodleexample.io/course/view.php?id=3' rel='prerender' />
In Chrome, it works rightly. But Firefox shows a strange behaviour. It correctly downloads the web page using prefetch, but when I request the course page, it downloads it again:
You can see from the Wireshark screenshot that it requests the course page again (at time 12.79).
Why does this happen? I tested it on an unencrypted Moodle, and it shows the same unwanted behaviour.