Hi @twistysnacks, thank you. I am using WP Fastest Cache. I had to delete the plugin and then reinstall it. I changed the settings one by one and checked after each one, and all seems to be fine now. I am a little confused though because I ended up with the exact same settings as before.
Thank you both for your help.