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

perf(acl) properly cache intermediary config #4040

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

thibaultcha
Copy link
Member

Prior to this patch, the if not config branch was hit during every
request, effectively nullifying the plugin's config cache optimization.

Prior to this patch, the `if not config` branch was hit during every
request, effectively nullifying the plugin's config cache optimization.
@thibaultcha thibaultcha added this to the 1.0.0rc4 milestone Dec 1, 2018
@thibaultcha
Copy link
Member Author

I ran a quick check against bundled plugins and no other seem to have the same defect. Please have a look and confirm @Tieske, thanks.

Copy link
Member

@Tieske Tieske left a comment

Choose a reason for hiding this comment

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

good catch! how did you even find this?

@thibaultcha
Copy link
Member Author

By reusing the pattern for the commit I added to #3872 - noticed we never saved the table. Thanks for taking a look.

@thibaultcha thibaultcha merged commit 408ce27 into master Dec 3, 2018
@thibaultcha thibaultcha deleted the perf/acl-config-cache branch December 3, 2018 19:27
jschmid1 added a commit to jschmid1/kong that referenced this pull request Nov 17, 2022
remove cache_key from key-sets
change cache_key construction of keys
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.

None yet

2 participants