Skip to content

Wire cache#210

Open
toonvd wants to merge 3 commits intomagewirephp:mainfrom
toonvd:wire-cache
Open

Wire cache#210
toonvd wants to merge 3 commits intomagewirephp:mainfrom
toonvd:wire-cache

Conversation

@toonvd
Copy link
Copy Markdown

@toonvd toonvd commented Mar 27, 2026

This PR stores HTML from successfull morphs in IndexedDB.
There are 2 possible versions of implementing this.

1: plain copying from IndexedDB on pageload and have a small diff between default value and whats in storage:
magewire_load_jump

2: hiding the element until the morph is done:
magewire_hide_element_until_load

Let me know what implementation you prefer. Also, my experience with Magewire is limited, please triplecheck for possible issues.

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.

1 participant