1 | | @azaozz What’s the context where this would be used in core? I’m concerned because we’ve had a ''ton'' of problems with performance on plugins that attempt to do these sorts of “URL to ID” lookups. Admittedly as a large media brand we are an edge case (~15 million postmeta rows and up on our largest sites) but these types of queries always seemed to be super problematic and introduced all kinds of performance hits on uncached requests (primarily in REST API calls). |
| 1 | @azaozz What’s the context where this would be used in core? I’m concerned because we’ve had a ''ton'' of problems with performance on plugins that attempt to do these sorts of “URL to ID” lookups, and had to either disable the behaviour or find different plugins. |
| 2 | |
| 3 | Admittedly as a large media brand we are an edge case (~15 million postmeta rows and up on our largest sites) but these types of queries always seemed to be super problematic and introduced all kinds of performance hits on uncached requests (primarily in REST API calls). |