PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.7
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.7
1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.4 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 33 releases
← All changes | includes/modules/BrowserCache/BrowserCacheModule.php +7 -6 1.3.4 → 1.3.7 View file →
@@ -30,9 +30,10 @@
30 30 public function ui_metadata(): array {
31 31 return array(
32 32 'label' => __( 'Browser Cache', 'xspeed' ),
33 33 'icon' => 'Clock',
34 - 'description' => __( 'Tell browsers (and intermediate CDNs) how long to cache static assets and HTML.', 'xspeed' ),
34 + 'description' => __( 'Tells browsers and CDNs how long to keep your files and pages.', 'xspeed' ),
35 + 'group' => 'cache',
35 36 );
36 37 }
37 38
38 39 public function settings_schema(): array {
@@ -40,9 +41,9 @@
40 41 'enabled' => array(
41 42 'type' => 'bool',
42 43 'default' => false,
43 44 'label' => __( 'Enable browser cache headers', 'xspeed' ),
44 - 'description' => __( 'On Apache/LiteSpeed this writes Cache-Control + Expires rules into .htaccess. On nginx it just stores the settings — you paste the snippet into your server block manually.', 'xspeed' ),
45 + 'description' => __( 'On Apache and LiteSpeed, xSpeed adds the rules to .htaccess for you. On nginx, you copy the snippet into your server config.', 'xspeed' ),
45 46 ),
46 47 'asset_ttl' => array(
47 48 'type' => 'int',
48 49 'default' => Browser_Cache::DEFAULT_ASSET_TTL,
@@ -47,11 +48,11 @@
47 48 'type' => 'int',
48 49 'default' => Browser_Cache::DEFAULT_ASSET_TTL,
49 50 'min' => 0,
50 51 'max' => 31536000,
51 - 'label' => __( 'Static asset TTL (seconds)', 'xspeed' ),
52 + 'label' => __( 'File lifetime (seconds)', 'xspeed' ),
52 53 'unit' => 'seconds',
53 - 'description' => __( 'Cache lifetime for CSS, JS, fonts, images. Defaults to 1 year + immutable (the industry-standard "fingerprinted assets never change" pattern).', 'xspeed' ),
54 + 'description' => __( 'How long browsers keep CSS, JS, fonts and images. The default is 1 year, which suits files that change name when they change.', 'xspeed' ),
54 55 'dependsOn' => array( 'field' => 'enabled' ),
55 56 ),
56 57 'html_ttl' => array(
57 58 'type' => 'int',
@@ -57,11 +58,11 @@
57 58 'type' => 'int',
58 59 'default' => Browser_Cache::DEFAULT_HTML_TTL,
59 60 'min' => 0,
60 61 'max' => 31536000,
61 - 'label' => __( 'HTML TTL (seconds)', 'xspeed' ),
62 + 'label' => __( 'Page lifetime (seconds)', 'xspeed' ),
62 63 'unit' => 'seconds',
63 - 'description' => __( 'Cache lifetime for the HTML document itself. Keep short (default 1h) so post edits roll out same-day.', 'xspeed' ),
64 + 'description' => __( 'How long browsers keep the page itself. Keep it short (default 1 hour) so visitors see your edits the same day.', 'xspeed' ),
64 65 'dependsOn' => array( 'field' => 'enabled' ),
65 66 ),
66 67 );
67 68 }