简体   繁体   English

如何在typo3 v9.x中异步构建typo3后端页面树?

[英]How can the typo3 backend page tree be constructed asynchronously in typo3 v9.x?

This concerns the typo3 v9 main page tree in the backend view.这涉及后端视图中的typo3 v9主页树

I have a very large page tree with about 20.000 page entities .我有一个非常大的页面树,大约有20.000 个页面实体 The query takes a long time...查询需要很长时间...

In my Typo3 v9.5.5 environment, the data is retrieved in a single slow query .在我的TYPO3的v9.5.5环境中,数据在一个单一的慢速查询检索

How can Typo3 build the page tree in several fast queries level by level? Typo3 如何在几个快速查询中逐级构建页面树

In the older Typo3 version (8.7.24) this also works with the method getNextTreeLevel() I think.在较旧的 Typo3 版本 (8.7.24) 中,这也适用于我认为的 getNextTreeLevel() 方法。

The core team is working on it.核心团队正在努力。 There are 2 patches pending: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62329 - this patch makes page tree less bandwidth有 2 个待处理的补丁: https : //review.typo3.org/c/Packages/TYPO3.CMS/+/62329 - 这个补丁使页面树减少了带宽

https://review.typo3.org/c/Packages/TYPO3.CMS/+/62086 - this adds asynchronous tree rendering (it's a work in progress, as needs some tuning regarding workspaces support) https://review.typo3.org/c/Packages/TYPO3.CMS/+/62086 - 这增加了异步树渲染(这是一项正在进行的工作,因为需要对工作区支持进行一些调整)

The new behaviour is like this by design in TYPO3 9. TYPO3 9 中的新行为是这样设计的。

There is a slack-channel discussing that issue: https://typo3.slack.com/messages/CK20S7EKS有一个讨论该问题的 slack-channel: https : //typo3.slack.com/messages/CK20S7EKS

And a bug-ticket on forge: https://forge.typo3.org/issues/88474以及伪造的错误票: https : //forge.typo3.org/issues/88474

Out of that there will come a patch for the core.其中将有一个针对核心的补丁。

The only help for now is the extensions: https://github.com/bueroparallel/bp_pagetree (discussed and reviewed in the slack channel).现在唯一的帮助是扩展: https : //github.com/bueroparallel/bp_pagetree (在 slack 频道中讨论和审查)。 This speed up the tree load but just loads up to a defined nesting level what results in not all pages are automatic included in the filter results.这会加快树加载速度,但只会加载到定义的嵌套级别,这会导致并非所有页面都自动包含在过滤器结果中。 But for now (and hopefully just for a small time period) the best solution!但是现在(希望只是一小段时间)最好的解决方案!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM