I have recently upgraded from Ubuntu 17.04 to 17.10. After the upgrade, Firefox has become very slow when loading pages. Once a page has loaded everything is as usual (for instance, YouTube plays fine) and the menus are responsive but loading a page takes several seconds. As a comparison, Google Chrome is quite fast.
I'm using Firefox 57.0.1 64-bit. I've already tried clearing the cache and site data, removing it (
apt-get purge firefox then deleting the remaining files in the Home folder) and reinstalling through the command line but nothing changed.
I would be very grateful for any advice. If nothing works I can always do a clean install of 17.04 (I had to install Unity on 17.10 anyway because the experimental fractional scaling on GNOME didn't work well) but I would rather not have to set up everything again. Thank you very much!
Update: Removing Firefox and installing the version provided directly by Mozilla following these instructions did not help.