-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add caching to schema of REST API. #52045
Conversation
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.
Thanks for catching that missing piece, @spacedmonkey 👍
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.
Looks good. Thanks for catching this 👍
For anyone's future reference this is documented at https://developer.wordpress.org/rest-api/extending-the-rest-api/schema/#caching-schema
@spacedmonkey Can I confirm whether this change still needs backporting to Core for 6.4? Thank you. |
@getdave This ticket was resolved in the WP 6.3 release. See WordPress/wordpress-develop@7faab12 |
Thanks. I got a ping about it today re: 6.4 and so it's good to know it's already sorted. Thanks Jonny 👍 |
What?
Improve performance of the REST API call by caching schema data. See ticket for more details - https://core.trac.wordpress.org/ticket/58657#ticket
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast