|
Server : LiteSpeed System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : dewac4139 ( 1077) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/dewa95.com/public_html/wp-content/plugins/litespeed-cache/tpl/db_optm/ |
Upload File : |
<?php /** * LiteSpeed Cache Database Optimization Settings * * Manages settings for database optimization in LiteSpeed Cache. * * @package LiteSpeed * @since 1.0.0 */ namespace LiteSpeed; defined( 'WPINC' ) || exit; $this->form_action(); ?> <h3 class="litespeed-title-short"> <?php esc_html_e( 'DB Optimization Settings', 'litespeed-cache' ); ?> <?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/database/#db-optimization-settings-tab' ); ?> </h3> <table class="wp-list-table striped litespeed-table"><tbody> <tr> <th> <?php $option_id = Base::O_DB_OPTM_REVISIONS_MAX; ?> <?php $this->title( $option_id ); ?> </th> <td> <?php $this->build_input( $option_id, 'litespeed-input-short' ); ?> <div class="litespeed-desc"> <?php esc_html_e( 'Specify the number of most recent revisions to keep when cleaning revisions.', 'litespeed-cache' ); ?> <?php $this->_validate_ttl( $option_id, 1, 100, true ); ?> </div> </td> </tr> <tr> <th> <?php $option_id = Base::O_DB_OPTM_REVISIONS_AGE; ?> <?php $this->title( $option_id ); ?> </th> <td> <?php $this->build_input( $option_id, 'litespeed-input-short' ); ?> <?php esc_html_e( 'Day(s)', 'litespeed-cache' ); ?> <div class="litespeed-desc"> <?php esc_html_e( 'Revisions newer than this many days will be kept when cleaning revisions.', 'litespeed-cache' ); ?> <?php $this->_validate_ttl( $option_id, 1, 600, true ); ?> </div> </td> </tr> </tbody></table> <?php $this->form_end(); ?>