Hello everyone,
I’m encountering a strange issue with PDF display in my Glide app using MonkeyPDF.
Context:
- I have completely replaced the old PDF with a new version in my database and in the editor.
- In the development environment, everything is correct: on the first click of the button, the new PDF is generated and displayed.
- On the user side, the behavior is different and reproducible:
- On the first click, the button generates a PDF corresponding to the old version (which no longer exists in the database or in any components).
- On the second click, the same button generates the new correct version.
What we have already tested (user side):
- Private/incognito browsing
- Uninstalling and reinstalling the app
- Testing on multiple browsers (including Chrome) and devices
- Verifying that the old PDF is not referenced anywhere (tables, components, conditions)
Despite all this, the old version still appears on the first click only for users. This behavior does not occur in my dev environment.
Has anyone seen this kind of discrepancy (old version served on the first click, then new version on the second) with MonkeyPDF or Glide? Could there be a client-side or server-side mechanism that serves an old resource at the moment of the first generation? Any diagnostic ideas or suggestions would be greatly appreciated.
Thanks in advance for your help.