| @@ -31,9 +31,10 @@ | ||
| 31 | 31 | return array( |
| 32 | 32 | 'label' => __( 'Preloader', 'xspeed' ), |
| 33 | 33 | 'tab_label' => __( 'Crawl Now', 'xspeed' ), // its own tab on the Preloader page |
| 34 | 34 | 'icon' => 'Wand2', |
| 35 | - 'description' => __( 'Crawl the sitemap to warm cache so visitors never hit a cold MISS.', 'xspeed' ), | |
| 35 | + 'description' => __( 'Visits your pages ahead of time so visitors get fast cached pages.', 'xspeed' ), | |
| 36 | + 'group' => 'cache', | |
| 36 | 37 | // Custom panel wraps the schema-driven settings with a |
| 37 | 38 | // Start/Stop control surface + a live status readout |
| 38 | 39 | // (queue depth, last URL, recent errors). |
| 39 | 40 | 'custom_panel' => 'PreloaderHost', |
| @@ -73,10 +74,10 @@ | ||
| 73 | 74 | return array( |
| 74 | 75 | 'enabled' => array( |
| 75 | 76 | 'type' => 'bool', |
| 76 | 77 | 'default' => false, |
| 77 | - 'label' => __( 'Enable Preloader', 'xspeed' ), | |
| 78 | - 'description' => __( 'When on, xSpeed crawls the sitemap on the schedule below and warms the page cache.', 'xspeed' ), | |
| 78 | + 'label' => __( 'Enable preloader', 'xspeed' ), | |
| 79 | + 'description' => __( 'xSpeed visits every page in your sitemap on the schedule below, so each page is cached before a visitor asks for it.', 'xspeed' ), | |
| 79 | 80 | ), |
| 80 | 81 | 'schedule' => array( |
| 81 | 82 | 'type' => 'enum', |
| 82 | 83 | 'default' => 'manual', |
| @@ -87,9 +88,9 @@ | ||
| 87 | 88 | 'daily' => 'Daily', |
| 88 | 89 | 'weekly' => 'Weekly', |
| 89 | 90 | ), |
| 90 | 91 | 'label' => __( 'Schedule', 'xspeed' ), |
| 91 | - 'description' => __( 'How often to start a fresh crawl. Manual means you trigger it from the dashboard.', 'xspeed' ), | |
| 92 | + 'description' => __( 'How often to visit all pages again. Manual means you start it from the dashboard.', 'xspeed' ), | |
| 92 | 93 | 'dependsOn' => array( 'field' => 'enabled' ), |
| 93 | 94 | ), |
| 94 | 95 | 'batch_size' => array( |
| 95 | 96 | 'type' => 'int', |
| @@ -95,10 +96,11 @@ | ||
| 95 | 96 | 'type' => 'int', |
| 96 | 97 | 'default' => 5, |
| 97 | 98 | 'min' => 1, |
| 98 | 99 | 'max' => 50, |
| 99 | - 'label' => __( 'Batch Size', 'xspeed' ), | |
| 100 | - 'description' => __( 'URLs warmed per cron tick. Higher = faster crawl, more load on the origin.', 'xspeed' ), | |
| 100 | + 'label' => __( 'Pages per run', 'xspeed' ), | |
| 101 | + 'description' => __( 'How many pages are cached on each run. A higher number finishes sooner but puts more load on your server.', 'xspeed' ), | |
| 102 | + 'advanced' => true, | |
| 101 | 103 | 'dependsOn' => array( 'field' => 'enabled' ), |
| 102 | 104 | ), |
| 103 | 105 | 'sitemap_url' => array( |
| 104 | 106 | 'type' => 'string', |
| @@ -103,9 +105,9 @@ | ||
| 103 | 105 | 'sitemap_url' => array( |
| 104 | 106 | 'type' => 'string', |
| 105 | 107 | 'default' => '', |
| 106 | 108 | 'label' => __( 'Sitemap URL (optional)', 'xspeed' ), |
| 107 | - 'description' => __( 'Override the auto-detected WordPress core sitemap (/wp-sitemap.xml). Leave blank for default.', 'xspeed' ), | |
| 109 | + 'description' => __( 'Use a different sitemap than the WordPress one (/wp-sitemap.xml). Leave blank for the default.', 'xspeed' ), | |
| 108 | 110 | 'dependsOn' => array( 'field' => 'enabled' ), |
| 109 | 111 | ), |
| 110 | 112 | 'warm_on_publish' => array( |
| 111 | 113 | 'type' => 'bool', |
| @@ -110,9 +112,9 @@ | ||
| 110 | 112 | 'warm_on_publish' => array( |
| 111 | 113 | 'type' => 'bool', |
| 112 | 114 | 'default' => true, |
| 113 | 115 | 'label' => __( 'Warm new content immediately', 'xspeed' ), |
| 114 | - 'description' => __( 'When a post or page is published, fetch it once so the first visitor sees a cache HIT, not a cold MISS.', 'xspeed' ), | |
| 116 | + 'description' => __( 'Cache a post or page as soon as you publish it, so the first visitor gets the fast cached page.', 'xspeed' ), | |
| 115 | 117 | 'dependsOn' => array( 'field' => 'enabled' ), |
| 116 | 118 | ), |
| 117 | 119 | 'warm_on_comment' => array( |
| 118 | 120 | 'type' => 'bool', |
| @@ -117,9 +119,9 @@ | ||
| 117 | 119 | 'warm_on_comment' => array( |
| 118 | 120 | 'type' => 'bool', |
| 119 | 121 | 'default' => false, |
| 120 | 122 | 'label' => __( 'Re-warm after comments', 'xspeed' ), |
| 121 | - 'description' => __( 'Re-warm a page after a comment is posted (Cache purges the page on comment; this fetches it back into cache).', 'xspeed' ), | |
| 123 | + 'description' => __( 'A new comment clears the page from the cache. This caches the page again right away.', 'xspeed' ), | |
| 122 | 124 | 'dependsOn' => array( 'field' => 'enabled' ), |
| 123 | 125 | ), |
| 124 | 126 | ); |
| 125 | 127 | } |