Skip to content

Conversation

@Vishala230531
Copy link

This PR implements BFCache (Back/Forward Cache) compatibility for smart payment buttons by replacing blocking beforeunload and unload event listeners with BFCache-compatible pagehide events. This enables instant back/forward navigation for users, improving the browsing experience by allowing browsers to cache entire pages in memory.

https://paypal.atlassian.net/browse/DTPPCPSDK-2854

@Vishala230531 Vishala230531 requested a review from a team as a code owner November 17, 2025 19:30
Copy link

@gusveloso gusveloso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants