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

Prevent unnecessary TV queries on uncached Resources #4464

Closed
opengeek opened this issue Apr 20, 2011 · 0 comments
Closed

Prevent unnecessary TV queries on uncached Resources #4464

opengeek opened this issue Apr 20, 2011 · 0 comments
Labels
area-core bug The issue in the code or project, which should be addressed.

Comments

@opengeek
Copy link
Member

opengeek created Redmine issue ID 4464

modRequest::getResource() issues a query to collect all Template Variables and the Resource specific values stored for each Template Variable, but modTemplateVar::getValue() was not using the "value" already collected by the single TV query, forcing an additional query for each Template Variable assigned to a the Resource.

Fixing this should reduce overhead significantly, with greater improvement as the number of Template Variables increase.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core bug The issue in the code or project, which should be addressed.
Projects
None yet
Development

No branches or pull requests

1 participant