Skip to content

Commit

Permalink
Update LSCacheForm.php
Browse files Browse the repository at this point in the history
  • Loading branch information
WuhuaChen committed Nov 10, 2023
1 parent 27ce762 commit 999c957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Form/LSCacheForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {

$form['clear_cache']['warmup_this'] = [
'#type' => 'submit',
'#value' => t('Warmup this site'),
'#value' => t('Warm up this site'),
'#submit' => ['::submitWarmup'],
];

Expand All @@ -85,7 +85,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#type' => 'textfield',
'#title' => $this->t('Public Cache TTL'),
'#default_value' => $config->get('lite_speed_cache.max_age'),
'#description' => $this->t('Amount of time for which page should be cached by LiteSpeed Webserver public cache (Seconds).'),
'#description' => $this->t('Amount of time for which page should be cached by LiteSpeed Web Server public cache (Seconds).'),
);

$options = ['Off','On'];
Expand Down Expand Up @@ -118,7 +118,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#type' => 'textfield',
'#title' => $this->t('Private Cache TTL'),
'#default_value' => $config->get('lite_speed_cache.private_max_age'),
'#description' => $this->t('Amount of time for which page should be cached by LiteSpeed Webserver private cache (Seconds).'),
'#description' => $this->t('Amount of time for which ESI blocks should be cached by LiteSpeed Web Server private cache (Seconds).'),
);

$form['cache_login']['esi_blocks'] = array(
Expand Down

0 comments on commit 999c957

Please sign in to comment.