Commit e7d05098 authored by bgm's avatar bgm

issue #1450516 : better descriptions for the cache settings

parent 821deb30
......@@ -17,13 +17,17 @@ function boost_admin_expiration_settings() {
'#type' => 'checkbox',
'#title' => t('Ignore a cache flush command if cron issued the request.'),
'#default_value' => variable_get('boost_ignore_flush', BOOST_IGNORE_FLUSH),
'#description' => t(''),
'#description' => t('Drupal will flush all caches when cron is executed, depending on the <a href="!urlcore">core minimum cache lifetime</a> setting. To ignore the request to flush the cache on cron runs, enable this option. If enabled, pages in the Boost cache will be flushed only when their <a href="!urlboost">Boost maximum cache lifetime</a> expires.',
'!urlcore' => url('admin/config/development/performance'),
'!urlboost' => url('admin/config/system/boost'),
$form['boost_expire_cron'] = array(
'#type' => 'checkbox',
'#title' => t('Remove old cache files on cron.'),
'#default_value' => variable_get('boost_expire_cron', BOOST_EXPIRE_CRON),
'#description' => t(''),
'#description' => t('If enabled, each time cron runs Boost will check each cached page and delete those that have expired (maximum cache lifetime). The expiration time is displayed in the comment that Boost adds to the bottom of the html pages it creates. This setting is recommended for most sites.'),
// reset htaccess on submit;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment