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

[WIP] Cache queries node types #281

Open
wants to merge 2 commits into
base: 2.x
Choose a base branch
from
Open

Conversation

lsmith77
Copy link
Member

includes #280, requires jackalope/jackalope#287

so for review maybe easier to look at cache_queries...cache_queries_node_types

@lsmith77 lsmith77 changed the title Cache queries node types [WIP] Cache queries node types May 27, 2015
@@ -147,10 +205,14 @@ public function getAccessibleWorkspaceNames()
*/
public function getNode($path)
{
if (empty($this->caches['nodes'])) {
return parent::getNode($path);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then how will this ever get cached?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct .. but the Client should also do any real work for this either .. so I figured its faster to do it like this, than to even bother to look at the cache backend.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually misread this .. I made this change since in theory a user can have no caching for nodes active.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this change is actually part of #280

to review this maybe better to look at cache_queries...cache_queries_node_types

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think i understand now. but anyway, i will wait for #280 to be merged and then we can rebase this one. will make it easier to review.

@lsmith77 lsmith77 force-pushed the cache_queries_node_types branch 2 times, most recently from 5c6691c to c8c4c63 Compare May 29, 2015 14:19
@dbu
Copy link
Member

dbu commented Jun 3, 2015

needs a rebase now that #280 is merged.

@dbu dbu changed the base branch from master to 2.x August 12, 2022 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants