user_nicename should get memcached
|Reported by:||Denis-de-Bernardy||Owned by:|
When displaying an author's page, there are queries:
SELECT ID FROM users WHERE user_nicename='whoever' SELECT display_name FROM users WHERE user_nicename = 'whoever'
the second one could be avoided with a non-persistent cache bucket indexed on user_nicename. we could store the user_id, for instance.
both of them could be avoided with the same bucket if the latter is made persistent.
Change History (15)
- Keywords needs-refresh added; commit removed
- Milestone changed from 3.0 to Future Release
comment:10 xibe — 4 years ago
- Keywords dev-feedback needs-testing added; needs-refresh removed
- Milestone changed from Future Release to 3.0