litespeedtech / litespeedtech/lscache_wp
[Improvement] DB optimizer option to disable/limit post revisions
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 257
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
The DB optimizer currently allows to clean old post revisions.
It would be useful if it was also possible to disable the post revisions or limit the number of post revisions.
This would be a way to prevent DB performance degradation.
There are currently plugins that allow this (such as https://es.wordpress.org/plugins/wp-revisions-limit/) and would be great to have this option integrated, so there's no need to use an additional plugin.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the DB optimizer and its existing post-revision cleanup behavior in the plugin. Define the option's scope from the issue: it should either disable post revisions or cap their number, with the setting integrated into the plugin rather than requiring another plugin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- databases, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100