ampproject / ampproject/amp-wp
Make amp-options an autoloaded option
Open
Enhancement
Groomed
P2
Performance
Punted
WS:Perf
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 378
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 10
Description
On accessing the frontend, there is a persistent query for the `amp-options` option:

Given that this option is always queried with each request, the option should be made autoloaded (part of `alloptions`).
Contributor guide
Research direction
Start by searching the WordPress option registration for `amp-options` and reviewing how options enter `alloptions`. Reproduce or inspect the persistent frontend query, then verify that `amp-options` is autoloaded and no longer queried separately on each request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100