Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: Compile artifacts for #3770 #3806

Closed
wants to merge 14 commits into from

Conversation

mhsdesign
Copy link
Member

Compiled build for testing of #3770

…nodedata

With this change the minimal required nodedata for each node in the rendered
content is inserted as data attribute and not as inline script anymore.
This improves performance as no extra function call is executed for each node.

Additonally the reduction in rendered node attributes reduces the output filesize and again improves loading time.

To prevent just-in-time loading of nodes all incomplete nodedata is requested after the guest frame has finished loading.

const nodes = Object.assign(
{},
legacyNodeData, // Merge legacy node data from the guest frame - remove with Neos 9.0
nodesAlreadyPresentInStore,
Copy link
Member Author

Choose a reason for hiding this comment

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

as we merge we dont need to include them here imo ... they are already in the store

Sebobo and others added 3 commits June 26, 2024 11:08
…r guest frame

The content tree is loaded early and can load fully loaded nodes without
being slower as the response time is the same. But this way we can skip
lots of nodes from being loaded by the guest frame if they are already
present in the store.
@Sebobo Sebobo force-pushed the bugfix/remove-ui-script-tag branch from ffd2b3a to bb857ea Compare June 26, 2024 09:12
@Sebobo Sebobo force-pushed the bugfix/remove-ui-script-tag branch from bb857ea to 2dc814b Compare June 26, 2024 09:43
@mhsdesign mhsdesign force-pushed the bugfix/remove-ui-script-tag-compiled-artifacts branch from 01762de to e1998d3 Compare July 4, 2024 09:07
@mhsdesign mhsdesign changed the title TASK: Compile artifacts for TASK: Compile artifacts for #3770 Jul 4, 2024
…use the store

previously it was cumbersome to collect all the `nodes` that are really on the page. But it should make no difference to do the lookup on a bigger set.
…ry endpoint

that means `neosUiDefaultNodes` only needs one param.
Technically we use a `Set` most times when we invoke the `q` endpoint but seb convinced me that this filtering doesnt hurt and is probably more sane :D
@mhsdesign mhsdesign force-pushed the bugfix/remove-ui-script-tag-compiled-artifacts branch from d0f6ca2 to 6905d1a Compare July 15, 2024 15:41
@mhsdesign mhsdesign force-pushed the bugfix/remove-ui-script-tag-compiled-artifacts branch from 6905d1a to 174c657 Compare July 17, 2024 07:54
@Sebobo Sebobo force-pushed the bugfix/remove-ui-script-tag branch from 2d46ef2 to 2401318 Compare July 23, 2024 14:13
@Sebobo Sebobo force-pushed the bugfix/remove-ui-script-tag branch from 2fd3193 to f4520af Compare August 8, 2024 07:41
Base automatically changed from bugfix/remove-ui-script-tag to 8.3 August 12, 2024 09:05
@mhsdesign mhsdesign closed this Aug 26, 2024
@mhsdesign mhsdesign deleted the bugfix/remove-ui-script-tag-compiled-artifacts branch August 26, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants