Automattic / Automattic/jetpack
jetpack_plugin_api_action_links should not be an (esp. autoloaded) option
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
Very similar to https://github.com/Automattic/jetpack/issues/8268, but this time with `jetpack_plugin_api_action_links`.
On a very small site I manage, `jetpack_plugin_api_action_links` is 5K. Transients are already used to manage the contents of this field, but it's coded as an autoloaded option that is loaded on each and every page request (transferring 5K from the database to the application server each and every time).
Contributor guide
Research direction
Start by comparing this issue with Automattic/jetpack#8268 and tracing the code that creates or updates the `jetpack_plugin_api_action_links` option. Confirm how its transient-backed contents are read and written, then verify that the option is no longer autoloaded while the existing action links continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, performance
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100