-
-
Notifications
You must be signed in to change notification settings - Fork 547
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
[4.x] Cache Blueprint columns #8840
Conversation
Are you planning on adding more to this PR? It's still a draft. Just remember to mark as ready when you are. 👍 |
This PR is complete. It is a draft though, as I asked others if they can confirm the speed improvement to make 100% sure it's not tied to our custom setup. |
I can confirm an improvement of around 15% in waiting server time response. |
I'm curious how this is helping you. We aren't calling If you place public function columns()
{
+ ray()->count('columns');
$columns = $this->fields() Do you have an addon or custom code where you are calling |
Hi Jason, it should be due indeed to some addons (Bard Texstyle for example seems to use it a lot), because it is called 9 times for me on a control panel entry edit page. |
Can you show what addons are installed in the output of |
Sure here it is :
I just bought a Ray licence and figured out that it wasn't 9 call but 134 ! |
This change helps us with performance, especially if you open large entries.
It caches the calculated columns for a single request.