PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.7.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.7.0
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
← All changes | cache/class-wp-optimize-page-cache-preloader.php +11 -0 4.5.2 → 4.7.0 View file →
@@ -129,8 +129,19 @@
129 129 }
130 130 }
131 131
132 132 /**
133 + * Reschedule preload action on plugin activation if page cache enabled.
134 + *
135 + * @return void
136 + */
137 + public function maybe_reschedule_preload_on_activation() {
138 + if ($this->get_cache_config('enable_page_caching')) {
139 + $this->reschedule_preload();
140 + }
141 + }
142 +
143 + /**
133 144 * Check if scheduled preload enabled.
134 145 *
135 146 * @return bool
136 147 */