Skip to content

Editable pdf works and saves correctly on localhost, but not in prod #1771

@bigyankarki

Description

@bigyankarki

What were you trying to do?

I am using pdf-lib 1.17.1, and everything works fine on localhost. I am able to edit, and save editable pdfs on localhost. I am also able to render and edit editable pdfs on prod. But, after saving it, it still renders the same old pdf. All the code on both localhost and prod is same.

I thought the issue might be caching, and used cache busting mechanism, but it still doesn't work. So, I am not sure why this is even happening. Video below:

Demo

How did you attempt to do it?

Used cache busting thinking its a cache issue, but it was not.

What actually happened?

I still see the old pdf after saving it.

What did you expect to happen?

Expected to see new updated pdf

How can we reproduce the issue?

I am just sharing it to see if someone has ran into same issue before.

Version

1.17.1

What environment are you running pdf-lib in?

Node

Checklist

  • My report includes a Short, Self Contained, Correct (Compilable) Example.
  • I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions