You need to make sure your .ovhconfig file has the line environment=production.
When switching to PHP 8.5, it is very likely that your .ovhconfig ended up with environment=development (or that the version change forced a testing mode). In this mode, Apache does not add expiration headers to the files, so the browser does not cache them.
The difference between your two URLs is the query parameter ?lettre=Agfa; having a parameter makes the browser consider it a unique URL and, if the server does not send cache headers, it could be storing it on its own.
I found the source of my problem. I have a snippet of code that handles syndication with Google Ads. That's what caused the crash. Once removed, everything works partially.
Thanks
EDIT, it's not the syndication code, but a single instruction in the middle that was wrong.