-
Notifications
You must be signed in to change notification settings - Fork 24
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
Dynamic Tags - Reduce and cache replacement requests #1619
Dynamic Tags - Reduce and cache replacement requests #1619
Conversation
tagName, | ||
isSavingPost, | ||
blockCacheKey, | ||
isSelected, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want/need this to run every time isSelected
changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can test again to make 100% sure, but I feel like this was necessary to refresh the value in case it changed or something along those lines. I've done a few PRs since then so I don't remember offhand.
Relates to: #1616
This PR implements a local client side cache and server side object cache to reduce the amount of requests and database lookups. Based on my tests it seems to be much faster afterwards. Please have a look and let me know what you see.