Fix issue: JS not loading from browser cache when page builder render #854
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: magento/magento2#37798
Preconditions and environment
Magento version: 2.4.5-p2 and 2.4.6
PageBuilder is enabled
Chrome 112 and newer
CMS page with pagebuilder content
Steps to reproduce
Use Chrome version 112 or above
Edit CMS Page, Product or anything that has PageBuilder.
Save page. It takes very long time or save or loading forever.
JS file is loading from the networks instead of browser cache, so that saving is very slow
Expected result
The content saving quickly.
JS file should getting from browser cache
Actual result
JS files always loading from the networks.
The content saving very slow. Sometime its stuck forever.
Additional information
I see that the issue happen when page builder rendering in iframe. Some js file is always loading from networks instead of browser cached. So that we have to spent more time to wait until all js file is loading correct.
Sometime, when network is slow. The spin loading forever and the content is not save and we will lost the current work.