litespeedtech / litespeedtech/lscache_wp

[Improvement] DB optimizer option to disable/limit post revisions

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.