Automattic / Automattic/WP-Job-Manager
Improve caching of categories
- Dominant language
- PHP
- Stars
- 899
- Forks
- 369
- Avg merge
- 11h 37m
- Merged PRs (30d)
- 12
Description
Every time a category is added, a new version of these categories is cached as a transient. On a site with over 10,000+ categories, this means that the database size grows very quickly.
We need to refactor the way WPJM handles caching in `job_manager_dropdown_categories`.
See https://github.com/Automattic/jpop-issues/issues/2639 and 1317299-zen for more info.
Contributor guide
Research direction
Start by inspecting the WPJM caching implementation for `job_manager_dropdown_categories`, then read the linked jpop-issues issue and the referenced `1317299-zen` context. Done means category additions no longer create unbounded transient versions and database growth is addressed without breaking category caching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, databases
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100