Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Question: getDataFromTree performance and caching #2122

@darkowic

Description

@darkowic

Question
I would like to know how to improve and cache getDataFromTree execution. Is it possible now?

getDataFromTree is slow - 1.5 slower than render to string in my case

getDataFromTree: 323.082ms
renderToString: 264.504ms

In my application I have around 6 queries executed on server side. Few of them are queries that could be easily cached and they do not need to walk the tree every time the request comes to server.

Do you have any recommendation, tips etc how to improve it? I did't found any usefull posts/issues about performance of getDataFromTree function

Version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions