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

FEATURE: Speed up UI flow queries with custom queries #3817

Draft
wants to merge 12 commits into
base: 8.4
Choose a base branch
from

Commits on Jul 4, 2024

  1. TASK: Translated using Weblate (Dutch)

    Currently translated at 100.0% (121 of 121 strings)
    
    Translation: Neos/Neos.Ui - Main - 8.3
    Translate-URL: https://hosted.weblate.org/projects/neos/neos-ui-main-8-3/nl/
    Mark Kuiphuis authored and Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e92fa45 View commit details
    Browse the repository at this point in the history
  2. TASK: Translated using Weblate (Spanish)

    Currently translated at 100.0% (121 of 121 strings)
    
    Translation: Neos/Neos.Ui - Main - 8.3
    Translate-URL: https://hosted.weblate.org/projects/neos/neos-ui-main-8-3/es/
    gallegonovato authored and Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    b6252be View commit details
    Browse the repository at this point in the history
  3. BUGFIX: Improve loading performance of UI and remove script tag with …

    …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.
    Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    56cbd4f View commit details
    Browse the repository at this point in the history
  4. TASK: Cache user locale

    Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    049148c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c6f210e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    731b5f7 View commit details
    Browse the repository at this point in the history
  7. Update packages/neos-ui-guest-frame/src/initializeGuestFrame.js

    Co-authored-by: Marc Henry Schultz <85400359+mhsdesign@users.noreply.github.com>
    Sebobo and mhsdesign committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    e58b288 View commit details
    Browse the repository at this point in the history
  8. TASK: Load full nodes from content tree and skip them from loading fo…

    …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 committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    6da911e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1de53f6 View commit details
    Browse the repository at this point in the history
  10. TASK: Remove unnecessary childnodefilter in ui flowqueries

    The UI filters itself, so the two children queries with
    different nodetypefilters have no effect on the final
    outcome and are just slowing down the response.
    Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    287e6d5 View commit details
    Browse the repository at this point in the history
  11. TASK: Speedup nodedata requests by prefetching all childnodes

    This way the followup methods that add the childnodes to the resulting
    noderesults can directly read the children from the 1st level cache.
    The speedup is ~50% (1s -> 500ms) in my tests for 175 nodes.
    Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    c7637e8 View commit details
    Browse the repository at this point in the history
  12. TASK: Query nodes for UI flowqueries directly from the db

    This way we only need one query to get all requested nodes
    instead of a query for each one.
    Sebobo committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    a9b14b2 View commit details
    Browse the repository at this point in the history