PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 3.2.5
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v3.2.5
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
wp-optimize / templates / minify / preload-tab.php

preload-tab.php in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 3.2.5, at templates/minify/preload-tab.php

33 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2 <div class="wpo_section wpo_group">
3 <form>
4 <?php if ($is_cache_enabled) : ?>
5 <div id="minify-preload" class="notice notice-warning wpo-warning below-h2 wp-optimize-minify-status-information-notice wpo-show">
6 <p>
7 <span class="dashicons dashicons-info"></span>
8 <?php printf(__('You are using WP-Optimize for page caching. Because of that, the pre-load settings used for page-caching are used. i.e. To configure pre-loading, go to the <a href="%s">settings in the caching section</a> instead.', 'wp-optimize'), admin_url('admin.php?page=wpo_cache&tab=wp_optimize_preload'), __('Cache Preload', 'wp-optimize')); ?><br>
9 </p>
10 </div>
11 <?php endif; ?>
12 <h3 class="wpo-first-child"><?php _e('Preload now', 'wp-optimize'); ?></h3>
13 <div class="wpo-fieldgroup">
14 <p>
15 <input id="wp_optimize_run_minify_preload"
16 class="button button-primary" type="submit"
17 name="wp_optimize_run_minify_preload"
18 value="<?php echo $is_running ? esc_attr__('Cancel', 'wp-optimize') : esc_attr__('Run now', 'wp-optimize'); ?>"
19 <?php echo $is_running ? 'data-running="1"' : ''; ?>
20 <?php echo $is_cache_enabled ? "disabled" : ""; ?>
21 >
22 <span id="wp_optimize_preload_minify_status"><?php
23 echo htmlspecialchars($status_message);
24 ?></span>
25 </p>
26 <span>
27 <?php _e('This action will trigger WP-Optimize to generate minify assets by visiting pages to preload them (so that they are ready the first time a human visitor wants them).', 'wp-optimize'); ?>
28 <?php _e('If a sitemap is available, then it will be used to determine which assets get minified.', 'wp-optimize'); ?>
29 </span>
30 </div>
31 </form>
32 </div>
33