-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
lib.tx_news makes unneccessary queries #1579
Comments
thanks for your report. so what should I do? I opt for still closing the issue |
yes, just looking on all the queries in the admPanel, but I never see another smart option. |
@froemken maybe you have here an idea? |
@DavidBruchmann I have just opened that issue here: #2490 |
I read that issue, therefore I got the idea you had a fix in mind here too perhaps 😆 |
The issue is that in the templates content is created again by TypoScript sometimes, so it's not primarily related to the count issue. This might be a good example, to show the issue, the data are known there already: news/Resources/Private/Templates/News/Detail.html Lines 97 to 100 in 9c74fd8
|
so a fix could include one of these options, or perhaps another solution:
I haven't made any tests yet, but perhaps these ideas help a bit. Ideas might be still messed up, and need some more focussing. |
I am closing the issue as no progress done and really not easy to solve |
Feature Request
Is your feature request related to a problem? Please describe.
lib.tx_news makes unneccessary queries about objects that are known already.
The queries seem being required to provide rendering based on tt_content.
Describe the solution you'd like
I'd like a solution that is using known data to avoid the additional database-queries.
Describe alternatives you've considered
I've no solution yet.
Teachability, Documentation, Adoption, Migration Strategy
Older templates could optionally adjusted but would work without too (just without the small gain of speed and memory).
The solution would require a change in tx_news itself and should be documented, so that older templates and TypoScript could be adjusted.
The text was updated successfully, but these errors were encountered: