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

feat: decrease query count by cacheing some RDF property fields #1083

Conversation

mccar
Copy link
Contributor

@mccar mccar commented Nov 2, 2023

Ticket - https://oat-sa.atlassian.net/browse/REL-1279

Goal

Decrease query count by cacheing some RDF property fields

Changelog

  • feat: added cache for fields isLgDependent, isMultiple, isRelationship and control changes on set and delete data in database

How to test

  1. Debug \core_kernel_classes_Property on open items
  2. Run tao/scripts/taoInit.php to check warmup
  3. To check how to works method OntologyUpdater::modelSync you can add it to tao/scripts/taoInit.php because running it in an update depends on the version and does not run every time
  4. Unit tests for check cache for property fields \oat\generis\test\unit\core\kernel\classes\PropertyTest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant