PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 3.2.22
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v3.2.22
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 / readme.txt

readme.txt in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 3.2.22, at readme.txt

1,488 lines 92.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance ===
2 Contributors: DavidAnderson, ruhanirabin, DNutbourne, aporter, snightingale, lumberhack, webulous
3 Donate link: https://david.dw-perspective.org.uk/donate
4 Tags: cache, caching, image cache, minify, performance cache, page speed, image optimizer, compress images, optimize database, clean database
5 Requires PHP: 5.6
6 Requires at least: 4.5
7 Tested up to: 6.4
8 Stable tag: 3.2.22
9 License: GPLv2+
10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
12 Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify for maximum performance.
13
14 == Description ==
15
16 MORE THAN A CACHING PLUGIN
17
18 <strong>WP-Optimize is trusted by more than 1 million WordPress website</strong> owners to <strong>boost performance</strong> and <strong>reduce page load times</strong> to improve your site's <strong>user experiences</strong> and <strong>SERP rankings in Google.</strong>
19
20 [vimeo https://vimeo.com/333705073]
21
22 It does this in four clever ways:
23
24 <strong>1. It caches your site</strong>
25
26 Caching is the process of storing a temporary HTML version of your site on the server so it can be retrieved more quickly for the user.
27
28 It's a sure-fire way to ensure web pages load at lightning-fast speed. Turn it on in just one click.
29
30 <strong>2. It compresses images</strong>
31
32 Large images can really impact page speed load times. WP-Optimize makes it easy to identify and compress images to your preferred lossy / lossless settings in a couple of clicks.
33
34 <strong>3. It cleans the database</strong>
35
36 Your WordPress database stores everything that you need, plus some things that you don't. WP-Optimize cleans and optimizes the database to speed up your site and save server resources.
37
38 <strong>4. It minifies</strong>
39
40 On top of its three main features, WP-Optimize Cache also has the more advanced minification feature.
41
42 Together with caching, minification dramatically improves performance and page speed load time.
43
44 == 1. CACHE YOUR SITE ==
45
46 <strong>Turn on caching in just one click:</strong>
47
48 WP-Optimize automatically and optimally configures itself for your WordPress site. Turn it on in one-click or refine its settings if you prefer.
49
50 <strong>More cache features:</strong>
51
52 * <strong>Cache preloading:</strong> This feature emulates a visit to your site, meaning cached files are served straight away, speeding up your site from the very first visit.
53
54 * <strong>GZIP Compression:</strong> When the server isn't configured to do so, WP-Optimize delivers HTML, CSS and JS files to the user's browser as smaller, compressed files, reducing the size of pages and style sheets by up to 90%!
55
56 * <strong>Preload key requests:</strong> Recommended by Google to improve page speed times. Critical resources (things like font files) get loaded first, so the page loads much faster <strong>[Premium]</strong>.
57
58 <strong>Use cache settings to:</strong>
59
60 * <strong>Serve cached content to logged in users:</strong> Turn this on if content stays the same for logged in users (or turn on and exclude URLs where content does change e.g. my account areas).
61
62 * <strong>Exclude content from cache:</strong> Exclude by URL, conditional tags, browser agent strings or list cookies that should prevent caching when set (advanced user settings).
63
64 * <strong>Deliver device-specific cache:</strong> Serve separate cache files to desktop and mobile devices . This ensures that responsive features e.g. desktop and mobile menus are cached separately and served correctly.
65
66 * <strong>User per role cache:</strong> Useful if your website delivers different content to different user roles. e.g. an e-commerce site that displays different content to resellers or consumers <strong>[Premium]</strong>.
67
68 * <strong>User specific cache:</strong> Serves separate cache files to individual users. Useful for websites with personalised content e.g. Learning management systems <strong>[Premium]</strong>.
69
70 * <strong>Cache purging permissions:</strong> Select which user roles are allowed to purge the cache e.g. admin only or perhaps a 'teacher' role in an LMS setting only <strong>[Premium]</strong>.
71
72 == 2. COMPRESS IMAGES ==
73
74 * <strong>Lossy or lossless compression options:</strong> Choose between maximum space saving, best image quality or somewhere in-between.
75
76 * <strong>WebP conversion:</strong> Recommended by Google, WebP can achieve up to 34% smaller file sizes compared to JPEG and up to 26% compared to PNG.
77
78 * <strong>Auto-compress:</strong> Check a box and every new image you upload will automatically be compressed to your preferred lossy / lossless settings.
79
80 * <strong>Bulk compression:</strong> Compress every existing image on your site with the press of a button.
81
82 * <strong>Restore original:</strong> Gone too far? Revert images back to their original in one click.
83
84 * <strong>Retain EXIF image data:</strong> Check a box to retain EXIF image data during compression.
85
86 * <strong>Lazy Load:</strong> Webpages load much faster by loading web parts gradually, when they're needed vs simultaneous loading of everything, all at once <strong>[Premium]</strong>.
87
88 * <strong>Delete orphaned images:</strong> Identify and delete unused images from your Wordpress website, saving disk space <strong>[Premium]</strong>.
89
90 * <strong>Delete unused image sizes:</strong> WordPress creates multiple sizes for every uploaded image causing the uploads folder to become bloated. Scan for image sizes not in use and remove them to save further disk space <strong>[Premium]</strong>.
91
92
93 == 3. CLEAN AND OPTIMIZE THE DATABASE ==
94
95 Cleans-up database tables, post revisions, auto draft posts, trashed posts, spam, trashed comments and more. Choose what to optimize or it's one click to clean out the lot.
96
97 * <strong>Schedule clean-ups:</strong> So you can set and forget. Choose from daily, weekly, fortnightly or monthly.
98
99 * <strong>Flexible clean-up schedules:</strong> You may wish to optimize database tables more frequently than you remove unapproved comments (for example). Choose the specific time and day when tasks should run <strong>[Premium]</strong>.
100
101 * <strong>Retain a set number of weeks' data during clean-ups:</strong> Just in case you need to retrieve something.
102
103 * <strong>Back up before clean-ups:</strong> If you delete something you shouldn't, restore it in a couple of clicks with UpdraftPlus.
104
105 * <strong>Power tweak - Turbo boost for WooCommerce:</strong> Unique to WP-Optimize, this power tweak boosts performance by replacing a slow query in WooCommerce with two much more efficient queries. E-commerce sites transacting high numbers of orders stand to gain here <strong>[Premium]</strong>.
106
107 * <strong>Power tweak - Boost performance by indexing the postmeta table:</strong> This unique power tweak works by allowing the WordPress postmeta table to be indexed, improving performance <strong>[Premium]</strong>.
108
109
110 == 4. MINIFY AND COMBINE HTML, CSS AND JAVASCRIPT ==
111
112 * <strong>Minify in just one click:</strong> Minifies HTML, JavaScript and CSS. Toggle on or off or customise each one under 'settings'.
113
114 * <strong>Customise minification:</strong> Minify only (removing unnecessary code e.g line breaks and white spacing) or minify and merge. Apply the same or different settings to HTML, CSS and JavaScript.
115
116 * <strong>Asynchronous loading:</strong> Choose non-critical CSS and JavaScript files to load in the background and independently of other resources e.g. analytics or pixel scripts. Loading asynchronously eliminates render blocking and improves page speed.
117
118 * <strong>Exclude files from being minified:</strong> Specify CSS and JavaScript files to exclude from minification.
119
120 * <strong>Optimize fonts:</strong> Optimize Font Awesome and Google Fonts. Inline the font files, inherit from CSS settings or load CSS / Javascript asynchronously instead.
121
122 * <strong>Preload assets:</strong> WP-Optimize visits each web page on your site so the code is minified and preloaded for real life users, right from their very first visit.
123
124 * <strong>Preload key requests:</strong> Recommended by Google to improve page speed times. Critical resources (things like font files) get loaded first, so the page loads much faster.
125
126
127 == WHY WP-OPTIMIZE? ==
128
129 * It's brought to you by UpdraftPlus, the team behind the world's most trusted backup, migration and restoration plugin.
130 * It's easy to use.
131 * It packs a punch for a free plugin.
132
133
134 WP-Optimize brings the best cache and optimization technology together into one single, seamless plugin to make your WordPress site fast, lean and efficient.
135
136 == PREMIUM FEATURES AT A GLANCE ==
137
138 Our free version of WP-Optimize Cache is great, but we also have an even more powerful Premium version with extra features that offer the ultimate in freedom and flexibility:
139
140 * <strong>Multisite Support:</strong> extends database optimisations so they function for multiple WordPress sites at a time. If you manage more than one website, you will need WP-Optimize Cache Premium.
141 * <strong>Flexibility and Control:</strong> gives you the power to optimize select individual tables or a particular combination of tables on one or more WordPress websites, rather than having to optimize all database tables.
142 * <strong>Deleting unused and unwanted images:</strong> removes orphaned images from your WordPress site, plus images of a certain, pre-defined size.
143 * <strong>Sophisticated Scheduling:</strong> offers a wide range of options for scheduling automatic optimization. Specify an exact time and run clean-ups daily, weekly, fortnightly or monthly and perform any number of additional once off optimizations.
144 * <strong>Seamless Graphical User Interface:</strong> for superb clarity in scheduling and managing of multi-site optimizations.
145 * <strong>WP-CLI support:</strong> provides a way to manage optimizations from command-line interface if you have lots of sites
146 * <strong>Lazy Loading:</strong> load only the images and part of a web-page when it is visible to the user so they can see something very quickly.
147 * <strong>Optimization Preview:</strong> gives users the ability to preview, select and remove data and records available for optimization from the database.
148 * <strong>Preload key requests:</strong> preload assets such as web fonts and icon fonts, as recommended by Google PageSpeed Insights.
149 * <strong>Premium support</strong> - caching is one of the most complex things you can do for a website, so premium support offers you peace of mind there's someone to talk quickly to if you need any technical answers or help configuring the optimizations of cache settings for your website.
150
151 = Translations =
152
153 Translators are welcome to contribute to the plugin. Please use the [WordPress translation website](https://translate.wordpress.org/projects/wp-plugins/wp-optimize).
154
155 == Installation ==
156
157 There are 3 different ways to install WP-Optimize Cache, as with any other wordpress.org plugin.
158
159 = Using the WordPress dashboard =
160
161 1. Navigate to the 'Add New' in the plugins dashboard
162 2. Search for 'WP-Optimize'
163 3. Click 'Install Now'
164 4. Activate the plugin on the Plugin dashboard
165
166 = Uploading in WordPress Dashboard =
167
168 1. Download the latest version of this plugin from https://wordpress.org/plugins/wp-optimize/
169 2. Navigate to the 'Add New' in the plugins dashboard
170 3. Navigate to the 'Upload' area
171 4. Select the zip file (from step 1.) from your computer
172 5. Click 'Install Now'
173 6. Activate the plugin in the Plugin dashboard
174
175 = Using FTP =
176
177 1. Download the latest version of this plugin from https://wordpress.org/plugins/wp-optimize/
178 2. Unzip the zip file, which will extract the wp-optimize directory to your computer
179 3. Upload the wp-optimize directory to the /wp-content/plugins/ directory in your web space
180 4. Activate the plugin in the Plugin dashboard
181
182 == Frequently Asked Questions ==
183
184 = Isn't it better to use a dedicated caching plugin to cache my site? =
185
186 We've built WP-Optimize Cache around the most advanced and powerful caching technology. Our caching tests and feedback from real-world users show that the caching feature alone can make your site faster than any other cache plugin or optimization. <a href="https://ps.w.org/wp-optimize/assets/screenshot-1.png?rev=2125386">See these speed test results.</a>
187
188 = Is optimizing my database safe? =
189 Yes; optimizing does not involve any "tricks" or poking around in dangerous ways. It involves running routine clean-up operations using well-defined, common MySQL commands. <strong>Nevertheless, we always recommend backups</strong>, which cover every possibility; not just database malfunctions, but hackers, human errors, etc. We recommend <a href="https://wordpress.org/plugins/updraftplus/">UpdraftPlus</a>.
190
191 = What savings can I expect to make? =
192 This is a "how long is string?" sort of question. It depends completely on your site - how big it is, how many users interact on it, how long it has been running, and when you last optimised it. However, the savings and speed-ups can be substantial; it is always worth making sure that your database is optimised.
193
194 = How do I get support? =
195 In our support forum, here: https://wordpress.org/support/plugin/wp-optimize/
196
197 = How do I use WP-Optimize Database Cleaning? =
198 [vimeo https://vimeo.com/339511213]
199
200 = WP-Optimize does not make large savings on my database =
201 This is rare; it's probably because you're with a shared web hosting company that doesn't allow scripts to run an optimize command via SQL statements (SQL "OPTIMIZE" instruction). Please consult your web hosting company on this matter.
202
203 = Is the plugin tried and tested? =
204 Yes - WP-Optimize Cache is WordPress's #1 most-installed optimisation plugin, with over 800,000 users and a pedigree going back over 8 years.
205
206 = Does WP-Optimize support InnoDB tables? =
207 WP-Optimize will disable some features if it detects InnoDB tables. Optimization of the database tables on-disk is not available, but other clean up features would work.
208
209 = Can you help me restore my database? =
210 Not unless you have an existing backup. Please ensure that you make a backup of your entire database before using WP-Optimize for the first time, and when you upgrade to a major new version of it. We recommend <a href="https://wordpress.org/plugins/updraftplus/">UpdraftPlus</a>.
211
212 = Are there any bugs in this plugin? =
213 The plugin is an ongoing work; that means that it is impossible to rule out unforeseen situations and bugs. So I would recommend you to test it out on your local system or make a backup of your database (just to be extra careful).
214
215 = How do I stop transient options from coming back automatically each time I clear them? =
216 When WordPress uses a particular transient, that specific transient is re-created automatically. So, it's normally for ones which are in active use to gradually re-appear. The best way to keep things optimal is to clear the transient options on a scheduled basis. For example, WordPress may create 50 transient option in a week. If you schedule WP-Optimize Cache to clear these options on a weekly basis, you'll have far fewer building up.
217
218 = The table size shows wrong / Not optimizing =
219 Please check your database for corrupted tables. That can happen, usually your web hosting company can run the repair command on the db.
220
221 = Which WordPress and PHP versions are supported? =
222 To use all features in the plugin, a minimum of version WordPress 4 with PHP 5.3 are required. But we do recommend to use the latest version of WordPress. Using PHP 7+ is also highly recommended, as our caching feature will work even faster.
223
224 = Which optimisation will make the biggest difference? =
225 This depends on your setup (theme, number and quality of plugins used, etc...), but generally, caching will make the biggest visible difference to your website's performance. Indeed, the cache functionality bypasses most of WordPress code to serve your pre-optimised cached pages directly to your visitor, significantly increasing the speed.
226
227 = What is caching, or page caching? =
228 <em>"Caching", from Wikipedia:</em> "In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere. A cache hit occurs when the requested data can be found in a cache, while a cache miss occurs when it cannot." — WP-Optimize cache does this by saving the page computed by WordPress on the disk. When a user visits a page, WP-Optimize will serve the cached page before WordPress is loaded. If the page wasn't cached before, it will be computed by WordPress, and WP-Optimize will then save the result to the cache.
229
230 = Why should I use a caching plugin on my website? =
231 You think your site is fast without caching? A caching plugin will make your website even faster. A faster cached website will increase SEO, it will improve your visitors experience. Caching will also save your server's resources.
232
233 = Is the WP-Optimize page cache compatible with Gutenberg and WordPress 5.0+? =
234 Yes, your Gutenberg pages will be cached, as well as those created with page builder plugins such as Elementor.
235
236 = How do I know my webpage is being cached (or why it isn't)? =
237 If cache is enabled, and in order to see if your page is cached, use the "View Source" function in your web browser to view the page source. To find caching information, scroll down to the bottom, and you should see a line added by the cache: `<!-- Cached by WP Optimize - https://getwpo.com - Last modified: Sat, 20 Jul 2019 21:17:19 GMT ->`
238 However, note that if you are using a further service that minifies HTML (e.g. Cloudflare), then this line may have been removed. Another method is to inspect the contents of the directory wpo-cache inside your wp-content directory. <a href="https://getwpo.com/faqs/how-do-i-know-my-webpage-is-being-cached/>Further information can be read here</a>
239 Also note that if you do not preload the cache, a page or post will have to be visited once for the cache file to be generated.
240
241 = How do I configure the page cache? =
242 Go to WP-Optimize -> Cache and enable caching. For most people, that will be enough. If you run an e-commerce, have a custom login page or any page that has dynamic content, you might want to exclude certain urls from the cache. See <a href="https://getwpo.com/documentation/">Advanced caching options</a> in our cache documentation to know more on excluding an URL from the cache.
243 [vimeo https://vimeo.com/337247770]
244
245 = Is the caching feature compatible with e-commerce plugins? =
246 Yes, caching with WP-Optimize Cache allows you to safely cache your products, with plugins like WooCommerce or Easy Digital Downloads, or any e-commerce that uses `DONOTCACHEPAGE` to exclude sensitive pages from caching (e.g. my account, cart or checkout pages).
247
248 = Is the caching feature compatible with multilingual plugins? =
249 Yes, WP-Optimize works with popular multilingual plugins like WPML or Polylang. However, it's important to note that when using WP-Optimize with multilingual plugins, the URL format for different languages should not include any query parameters, for example `https://example.com/?lang=en`. Instead, it should be in a pretty permalink format, such as `https://example.com/en`.
250
251 = Do I need a special setup to use the caching feature? =
252 No, if WordPress works properly, WP-Optimize will be able to cache your pages and posts.
253
254 = Can I use the page caching feature together with another cache plugin? =
255 No, because both cache plugins would need to use the drop-in plugin `advanced-cache.php`. If you turn off caching on WP-Optimize Cache, you can use any other caching plugin and still use the other features of WP-Optimize. But we do recommend using our caching solution.
256
257 = Is WP-Optimize caching compatible with Cloudflare? =
258 Yes! No special cache configuration is needed. Page caching on the WP site (that done by WP-Optimize Cache) is independent of proxy caching (e.g. Cloudflare) – you can use both, or neither, and they will complement each other and not interfere. <br>Just one thing to note – Cloudflare will strip out the special HTML comment at the bottom of the source of a page that is helpful to confirm that page caching is working, so, don't be confused by that – it's absence doesn't indicate the cache is not working.
259
260 = Can I empty the cache automatically when performing a custom action? =
261 Yes, you can trigger a cache purge action using WP-Optimize Cache public functions. If you want to clear the whole cache, use the function `wpo_cache_flush()`. If you want to clear the cache files for a specific page or post, use `WPO_Page_Cache::delete_single_post_cache($post_id);`. Those cache options are available after WP action `plugins_loaded`.
262
263 = Will the comments work even when page caching is enabled? =
264 Yes, when using WordPress' commenting system, your users will still be able to post comments. Every time a comment is approved, the cache for that page or post will be cleared, allowing the next visitor to see an up to date list of comments.
265
266 = What is "cache preloading"? =
267 Usually, a page is cached when a user visits it. So the first user visiting won't be served a cached version of the page, and will wait longer than the next users. The cache preloading functionality will go through all your pages and posts, and simulate a visit by a user, allowing WP-Optimize to cache the pages before anyone visits them. Your first visitor will thus be served a cached version of the page, increasing its performance.
268
269 = What frequency should I choose for the cache preloading schedule? =
270 Choosing a frequency for the cache preloading schedule will depend on factors such as the frequency at which the website content is updated, the number of pages in the cache, the resources of the server and more.
271 For example a site with hundreds of pages will require more resources to preload its cache. So choosing a high frequency will mean that the cache will be recreated often, and the resource usage will be higher.
272 On a website where updates aren't as frequent, you can even disable the cache preloading schedule, or set a high cache lifespan and set the cache preloading schedule to follow it.
273
274 = How do I cache only the home page? =
275 Add /.+ to the cache option "URLs to exclude from cache" on the advanced settings tab.
276
277 = How do I prevent WP-Optimize Cache from caching a certain page =
278 To prevent a page from being cached, you can add the URL to the field "URLs to exclude from cache" in the cache "Advanced settings" tab. If you are developing a plugin and want to prevent a page from being cached, you can define the "DONOTCACHEPAGE" constant on the pages you need. Any request where "DONOTCACHEPAGE" is defined will not be cached.
279
280 = Is the caching feature of WP-Optimize free? =
281 Yes the caching feature is free. You will always be able to cache your website for free using WP-Optimize and we are constantly working on improving the existing cache feature. We will add more caching options to the free version and develop more specific caching options in the premium version to enable you to taylor the caching functionality to your needs.
282
283 = Where does WP-Optimize Cache store the cached files? =
284 The cached files are stored in the common "wp-content/cache" folder, inside a "wpo-cache" folder. Removing the "cache" folder will delete all of WP-Optimize's cache, as well as those from other plugins.
285 Deleting the "cache" folder is generally safe, as those cached files will be regenerated.
286
287 = How do I disable caching? =
288 Go to WP-Optimize settings > Cache and toggle the "Enable page caching" option to on/off.
289
290 = Will caching slow down my server? =
291 No, caching will actually reduce the load on your server, by reducing the amount of PHP and mysql used. You might see a peak in resource usage when using the cache preloader, as this functionality will create the cache files for all your pages in a short amount of time. But once this is done, performance should increase and the load on your server will decrease. Every single major site uses caching to serve cached pages faster by using fewer resources.
292
293 = Can I make certain parts of the page stay dynamic when cache is enabled? =
294 The cached page is sent to the user before most of WordPress was loaded. The plugins aren't loaded yet, making it impossible for them to change the cached content at every request.
295 So at the moment if you want to keep parts of your page dynamic (e.g. adverts, widgets, shopping cart...) AND keep it cached, you will have to use custom solutions using javascript and AJAX to fetch those dynamic parts from the server.
296
297 = How do I delete the WP_CACHE define from wp-config.php? =
298 WP-Optimize Cache will remove the "WP_CACHE" constant from wp-config.php when you disable page caching, or when you deactivate the cache plugin. If you need to remove it manually, you can use FTP to edit wp-config.php and delete the line define ('WP_CACHE', true );
299 If page caching is still enabled in the settings, WP-Optimize Cache will attempt to add the line again, as it is required for the caching functionality to work.
300
301 = My filesystem is not writable to increase security. What do I need to do to make it compatible with the caching functionality? =
302 WP-Optimize caching feature needs write access to the 'wp-content/cache' folder, as this is where the cache files will be stored. It also needs to define the constant 'WP_CACHE' in 'wp-config.php', it will need access once to 'wp-content/advanced-cache.php', as well as to the folder 'wp-content/wpo-cache' to write the cache settings.
303
304 = How do I change file permissions? =
305 If you need to change file permissions to enable caching, you can follow the instructions on this page https://wordpress.org/support/article/changing-file-permissions/
306
307 = What is the maximum number of pages I can cache? =
308 There is no limit to the number of pages you can cache. The only limit is the space on your server and the maximum number of subdirectories allowed by your server, as caching will write files in subdirectories following the permalink structure.
309 If you were to reach a caching limit, it probably means that your server is not fit for the size of your website and caching needs.
310
311 = How do I serve cached pages to people using a phone or tablet? =
312 You can generate a separate cache by selecting "Generate separate files for mobile devices" in the page cache settings. This cache setting is only necessary if you use a specific theme for mobile devices, or for certain AMP plugins.
313
314 = Does WP-Optimize Cache work with Nginx? =
315 Yes, the cache feature works with Nginx. Should you want to enable browser caching or GZIP compression, you will have to do this yourself directly on the server settings.
316
317 = Does caching work with Windows Server (IIS) ? =
318 Yes, the cache feature works with IIS. As with Nginx, if you need to enable browser caching or GZIP compression, you will have to do this yourself on the server.
319
320 = Does the WP-Optimize page cache work with non-pretty (query parameter-based) permalinks? =
321 No. It's necessary to have pretty permalinks of the type http://xxxxx.com/my-post/ rather than http://xxxxx.com/?p=1234 for cache to work. Pretty permalinks are the WordPress default setting, and there is no good reason to turn them off, so you should not have a problem with this.
322 Note that cache will work with permalinks including /index.php/. It is only those based upon query parameters (?…) where cache won't work.
323
324 = When does WP-Optimize clear the page cache? =
325 * When you publish new content or update/edit existing content, the cache for that post/page will be cleared.
326 * Changing/updating current themes and parent themes (of child themes) will purge the cache.
327 * When turning off the cache feature in WP-Optimize
328
329 = Will pages in the WP admin dashboard be cached? =
330 No, WP dashboard pages are not cached. The cache functionality is only meant to cache frontend pages.
331
332 = What is cache lifespan? =
333 The cache lifespan is the time a cached file will be kept before being regenerated.
334 One of the main reason for setting a lifespan to your cache is that some plugins and themes use nonces, which are printed in the source code of the page (<a href="https://developer.wordpress.org/plugins/security/nonces/">Read more about nonces here</a>). These nonces cannot be reused and are valid for 12 hours by default (developers can change that value). The cache plugin will store the nonce in the page, and this one will become invalid after that perdiod of time, which can affect certain functionalities of your plugins and themes. Setting a cache lifespan to under 10 hours ensures the cache is flushed automatically before the nonce expires. This way you can use WP-Optimize's cache feature on sites which use nonces.
335 An other reason is that you may want your pages to reflect some changes without having to clear the whole cache. Indeed if you have many pages and posts, you might not want to clear every cache file with every change, but rather set an interval at which they will expire and be regenerated.
336
337 = What value should the cache lifespan be? =
338 A lower cache lifespan value will result in more frequent cache update activity on your server, and thus more preload processes, if activated.
339 If your site does not use nonces, and your site's cache doesn't need to be updated often, you can set the cache lifespan to a high value or to 0 to give it an infinite lifespan.
340 The cache lifespan option is set to 10 hours by default, but you may go down to 8 or even less.
341 If you notice any issues due to high server load, set a higher interval for the preloader.
342
343 = Can WP-Optimize Cache minify JavaScript, CSS and HTML? =
344 Yes, the newly added Minify enables you to minify JavaScript and CSS. It also enables you to minify HTML.
345
346 = What is "Minify"? =
347 [vimeo https://vimeo.com/402556749]
348
349 = Why minify my WordPress site? =
350 WP-Optimize Cache's Minify feature is all about increasing the speed of your WordPress site for your users.
351 One way Minify does this is by reducing the size of your HTML, CSS and JavaScript files by removing unnecessary spaces and lines from the files and shortening long names internally within the code.
352 Another way is that your files are merged into as few files as possible. This reduces the amount of load on your web server and can be quicker to load fewer files.
353 You can also defer the loading of any CSS or JavaScript file. This means any large or extraneous CSS or JavaScript file can be loaded independently from the core of your WordPress site; giving your users quicker access to your site.
354
355 = What does "Reset the minified files" actually do? =
356 Pressing the "Reset the minified files" does:
357 * delete the temporary files used when generating the minified assets
358 * delete old minified files (more than 30 days old)
359 * add a folder for the new minified files, which will be generated when visiting a page
360 The previously minified CSS files will remain on the server until they expire, or until they're deleted using the button "Delete all the files generated by minify".
361
362 = Can I defer CSS and JavaScript using WP-Optimize Cache? =
363 Yes, the newly added minification feature (a.k.a. Minify) allows you to defer parsing of JavaScript and CSS.
364
365 = Google's PageSpeed Insights says to leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Can WP-Optimize Cache do that? =
366 Leveraging the font-display CSS feature is currently possible when using Google Fonts. The default parameter is "swap", but can be changed using the WordPress filter "wpo_minify_gfont_display_type".
367
368 = When enabling minify, my site's layout is broken. How can I fix it? =
369 This usually means one or more of your CSS files are incompatible with the minification or merging process. It can also be caused by errors in the CSS's syntax.
370 You can check the CSS's syntax by using an online CSS syntax checker such as csslint.net.
371 If your syntax is not causing the issue, or you cannot change the file with an issue, you can either exclude the problematic CSS files from the minification and merging process.
372 To exclude individual CSS files from the minification and merging process, you can go to WP-Optimize > Minify > CSS and go to the "Exclude the following CSS files from processing" section.
373
374 = When enabling minify, some functionality is broken. How can I fix it? =
375 This usually means one or more of your JavaScript files are incompatible with the minification or merging process. It can also be caused by errors in the JavaScript's syntax.
376 The first thing to try is to enable the setting "Contain each included file in its own block" in the JavaScript options (WP-Optimize > Minify > Javascript > JavaScript options). This could "catch" an error, and prevent the rest of the code to be broken.
377 If the first option didn't work, try disabling merging of JavaScript files.
378 If none of the above works, disable processing of JavaScript files in the minify settings, and <a href="https://wordpress.org/support/plugin/wp-optimize">open a support thread</a> with details about your issue. We'll do our best to help you troubleshoot the issue.
379
380 = How do I use the image optimisation feature? =
381 [vimeo https://vimeo.com/333938451]
382
383 == Screenshots ==
384
385 1. Cache - plugins comparison benchmark
386 2. Database optimization
387 3. UpdraftPlus running a backup before an optimization proceeds
388 4. Table Report
389 5. Image compression
390 6. Main cache screen
391 7. Settings
392 8. Real world tests show the cache feature alone can make your site faster than any other caching plugin
393 9. Features comparison
394
395
396 == Changelog ==
397
398 = 3.2.22 - 23/Nov/2023 =
399
400 * TWEAK: Cache - Show a notice in the admin if the config file is missing and caching is enabled
401 * TWEAK: Added support for new emoji styles related hooks introduced in WordPress 6.4
402 * TWEAK: Database - Fix "Optimize database tables" stuck loading state
403 * TWEAK: Premium - Cache - Style improvement for the select2 box from advanced cache settings
404 * TWEAK: Premium - Images - Fix issues with avif images in the unused images feature
405 * REFACTOR: Wrapping most of the external links in the WPO settings pages with the appropriate function
406 * REFACTOR: Remove unused code
407
408 = 3.2.21 - 18/Oct/2023 =
409 * FIX: Prevent PHP fatal error when updating from older versions of WP-Optimize
410
411 = 3.2.20 - 16/Oct/2023 =
412
413 * FIX: WebP - Performance issue because of possible infinite loop
414 * FIX: Cache purging occurred prior to the cache lifespan expiration
415 * FIX: Premium - Smush - Do not consider images in trashed posts as unused
416 * TWEAK - Remove extra slash from plugin asset urls and paths
417 * TWEAK: Image - Add a tooltip next to the restore button on the edit media screen
418 * TWEAK: Premium - Prevent PHP deprecated warning when generating variations from attributes for new WooCommerce variable products
419 * TWEAK: Premium - Purge cache when the `Variation Swatches for WooCommerce` plugin settings get updated
420 * TWEAK: Premium - Settings - Style improvement for the `Purge cache permissions` select2 box
421 * TWEAK: Recognise LearnDash plugin tables in database optimization
422 * TWEAK: Remove empty `uploads/.htaccess` file and remaining cron events
423 * TWEAK: Smush - Disable server info in smush logs by default
424 * TWEAK: Smush - Resolve double log entries when compressing a single image from the media library metabox
425 * TWEAK: Prevent unwanted PHP notice upon update
426
427 = 3.2.19 - 15/Sep/2023 =
428
429 * FIX: Cache - Relevant caches are now purged upon updating homepage display settings and posts per page settings
430 * FIX: Minify - Multiline content inside textareas break after exporting and importing settings
431 * FIX: Smush - Images are not compressed with default (image quality = 100) settings
432 * FIX: Premium - Cache - Caching stops working when WordPress salt keys contain backslash (\) character
433 * FIX: Premium - User per role cache not working when tables do not have `wp` prefix
434 * FIX: Premium - When lazy loading is enabled, the picture tag in initial viewport is not visible
435 * TWEAK: Fixed date format and timezone in the cache last modification comment according to the site configuration
436 * TWEAK: Fixed spelling errors in the repository
437 * TWEAK: Minify - The process of purging cache for 3rd party caching solutions now works properly when multiple other solutions are present
438 * TWEAK: Premium - Lazy load - Added Jetpack, Optimole, Rocket Lazy Load, and Smush (WPMU Dev) plugins to the incompatibility notice
439 * TWEAK: Prevent PHP warning upon installing themes from the WordPress repository
440 * TWEAK: Update the composer package yahnis-elsts/plugin-update-checker for PHP 8.2 compatibility
441
442 = 3.2.18 - 11/Aug/2023 =
443
444 * FIX: A bug in the v3.2.17 release that caused certain database optimization buttons to be disabled has been fixed
445 * TWEAK: Reset WebP serving method upon updating to version 3.2.18
446
447 = 3.2.17 - 08/Aug/2023 =
448
449 * FIX: Automatically compress newly-added images feature now works on multisite in case of attachment ID is the same in both sites
450 * FIX: Minify - No separate try-catch blocks for same handle
451 * FIX: Premium - Unused Images - Recognise Elementor Carousel, Slides, Flip Box, and Site logo widget images
452 * FIX: Premium - Prevent memory exhausted PHP fatal error when using unused images feature with Elementor
453 * TWEAK: External links will open in new tab/window
454 * TWEAK: Remove `htaccess-capability-tester` dependency
455 * TWEAK: Remove residue folders in `uploads/wpo`
456
457 = 3.2.16 - 06/Jul/2023 =
458
459 * FIX: HTML minify should not remove `title` tag added by AIOSEO
460 * FIX: Premium - Fetching unused images data is incorrect when previous task queue is not properly unlocked
461 * FIX: Premium - Unused Images - Recognise Elementor background images
462 * TWEAK: Premium - Prevent conflicts between the minify feature and the `YITH Point of Sale for WooCommerce` plugin
463 * TWEAK: Premium - Compatibility issue with Smart Slider 3
464 * TWEAK: Suppress PHP warnings caused by WebP converter
465 * TWEAK: Database optimization - Prevent duplicate AJAX requests, minor code improvements
466 * TWEAK: Smush - Add a cron job to run pending image compressions, ensuring completion of the process even if bulk image compression encounters interruptions or failures
467 * TWEAK: Clean up files on uninstall
468 * TWEAK: Added compatibility for `Custom Permalinks` plugin
469 * TWEAK: If minifying is enabled, then check that the purge cron event exists (not only upon plugin activation)
470 * REFACTOR: Premium - Unused Images - Separate classes for Beaver Builder, Estatik, and Yoast SEO plugins
471 * FIX: Premium - WP CLI commands permission issues solved
472
473 = 3.2.15 - 09/May/2023 =
474
475 * FEATURE: Premium - Cache - Added compatibility with the "WooCommerce Multilingual & Multicurrency" plugin's multi-currency feature
476 * FIX: Premium - Above the folder elements should not be loaded lazily
477 * FIX: Prevents minify cache invalidation when asset version is changed but content is same
478 * FIX: Prevent PHP 8 uncaught exception `TypeError` when using CloudFlare
479 * FIX: Add logging destination UI
480 * FIX: Premium - Cache - Prevents a PHP fatal error that occurs when user cache is enabled on sites running on MariaDB with a version prefix of '5.5.5-' and PHP versions prior to 8.0
481 * FIX: Serving WebP images only to supported browsers wasn't working properly when page caching is enabled
482 * FIX: Minify - `inherit` Google fonts method is not working
483 * TWEAK: Prevent PHP deprecation notice when purging minify cache
484 * TWEAK: Cache - Prevent PHP warning when deleting cache
485 * TWEAK: Suppress PHP notice when cannot write to .htaccess file
486 * TWEAK: Add user capability check for smush task manager ajax handling method
487 * TWEAK: Minify - Do not send cache control and last modified headers if already present
488 * TWEAK: Smush - clean up log entries
489 * TWEAK: Correctly handle XX and T1 country codes in Cloudflare's IP country header
490 * REFACTOR: Separate classes for activation, deactivation and uninstall actions
491
492 = 3.2.14 - 30/Mar/2023 =
493
494 * FIX: Compatibility with WordPress 6.2 when using PHP 8.x
495 * FIX: Divi builder's edit mode when WebP serving is using the "alter HTML" method
496 * FIX: Premium - Unused images feature - improve compatibility with Beaver Builder and its addons
497 * FIX: Cache - Page caching wasn't working on the IIS webserver
498 * TWEAK: Update seasonal notices
499 * TWEAK: Prevent deprecation notices in PHP 8.2+
500
501 = 3.2.13 - 13/Mar/2023 =
502
503 * FEATURE: WebP - Ability to convert to webp format from media library
504 * FIX: Prevent PHP warning when minify-log files are missing or corrupted, also added appropriate error message
505 * FIX: Delete webp files and uncompressed file when media is deleted
506 * FIX: Polylang compatibility - now upon updating any post, caches for all translated languages are cleared
507 * FIX: Prevent adding unsupported media types to the smush task list
508 * FIX: WebP - Unsupported formats throws a fatal error
509 * FIX: Compress image UI for webp images
510 * FIX: Premium - WebP Images are marked as unused images
511 * FIX: Resolved an issue where Beaver Builder's edit mode was not functioning properly when WebP conversion was enabled
512 * FIX: Prevent creating multiple cache directories for URLs that contain non-English characters
513 * TWEAK: Preload allowed time difference is set to be the same as max execution time
514 * TWEAK: Premium - Unused images feature - Add compatibility with Yoast SEO social images
515 * TWEAK: Prevent jQuery deprecation notices
516 * SECURITY: Fixed a non-persistent XSS vulnerability that could occur on certain servers when the WebP conversion option was enabled. This vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim's browser by tricking them into clicking on a specially crafted link. Thanks to Paolo Elia for reporting this.
517
518 = 3.2.12 - 06/Feb/2023 =
519
520 * SECURITY: Today's 3.2.11 release (free version only - there was no 3.2.11 Premium release) checked nonces incorrectly, opening up the possibility of an attacker tricking an admin into clicking links crafted to perform unauthorised actions on the WP Optimize configuration on his site.
521
522 = 3.2.11 - 06/Feb/2023 =
523
524 * FIX: Empty query string updates cache
525 * FIX: Cache - Purge cache after string translation update in WPML
526 * FIX: Cache - Preload stuck and fails to complete
527 * FIX: Prevent PHP warning when `.htaccess` files don't have write permission
528 * FIX: Premium – Fixed compatibility issue with WP Hide plugin
529 * FIX: Minify - Less than 20KB stylesheets loading order
530 * TWEAK: Add cron event only if clear backup images is enabled
531 * TWEAK: Cache - Use WordPress GMT offset for cache comment
532 * TWEAK: Only allow image types that can be compressed
533 * TWEAK: Cached page is not served for sites that have own directory for WordPress files
534
535 = 3.2.10 - 28/Nov/2022 =
536
537 * FIX: Prevent php warning and increase SendInBlue `mailin` plugin compatibility
538 * FIX: Avoid screen juggling while selecting optimizations from dropdown in scheduled clean up
539 * FIX: Prevent cache purge upon deactivation using filter
540 * FIX: Cache purge ability of all registered user
541 * FIX: Recognise WooCommerce product category images as used images
542 * FIX: Multisite support in `cached-file-log.php` template
543 * TWEAK: Improve Optimization Schedule UI
544 * TWEAK: Consolidated error notices by the use of a global WPO notice object.
545 * TWEAK: Remove `Reset WebP serving method` button when there are no webp conversion tools
546 * TWEAK: Remove query strings from scripts
547 * TWEAK: Add `Restrict Content Pro` plugin slug to `plugin.json`
548 * TWEAK: Add option to remove orphaned `user meta` data upon run optimization
549 * TWEAK: Add `no-cache` headers when minify is enabled and page caching is not
550 * TWEAK: Ability to remove `.htaccess` rules when gzip compression is not available
551 * TWEAK: WebP: Avoid PHP warnings when using hot linked images (Alter HTML method)
552 * TWEAK: WebP conversion is unavailable when php shell functions do not exist
553 * TWEAK: Improved UI settings for asynchronous loading and page speed testing exclusion tools
554 * TWEAK: Add a constant to enable/disable webp feature
555 * TWEAK: Set a global context for $wp_file_descriptions context so that it gets assigned to correctly, preventing a subtle visual change in the theme editor
556 * TWEAK: Prevent php warning from `webp-convert` library
557 * TWEAK: Update currently-active installs number in thank you for installing notice.
558 * TWEAK: Replaced deprecated use of jQuery.change()
559
560 = 3.2.9 - 06/Sep/2022 =
561
562 * FEATURE: Import and export settings
563 * FIX: Avoid infinite loop while using unused images export csv
564 * FIX: Scheduled cache preloading issue
565 * FIX: WebP testing making unnecessary background HTTP checks
566 * FIX: Google fonts compatibility with The7 theme
567 * FIX: Prevent console error for undefined `wp_optimize` for smush scripts
568 * TWEAK: Avoid PHP warnings on cache cleanup
569 * FIX: Ability to disable webp serving while caching is on
570 * TWEAK: Reset webp conversion method flags daily using cron job
571 * TWEAK: Remove orphaned `wpo_weekly_cron_tasks` cron job upon uninstallation
572
573 = 3.2.8 - 23/Aug/2022 =
574
575 * FIX: Build system error led to a missing file in 3.2.7 which could cause an error when using related functions
576 * FIX: Fix incorrect function name in admin class
577
578 = 3.2.7 - 15/Aug/2022 =
579
580 * FEATURE: A CLI command for generating lists of unused images as a CSV file (Premium)
581 * FIX: The unused images CSV downloads have a few redundant images listed
582 * FIX: ACF block field images are listed as unused images
583 * FIX: Correctly recognize `inherit` in google fonts async loading
584 * FIX: Cache - Do not purge when `wp_update_nav_menu` is removed from `wpo_purge_cache_hooks` array
585 * TWEAK: Prevent PHP warnings when using `json_decode` result
586 * TWEAK: Create cache config file if not present because of site migration
587 * TWEAK: Update notice class
588 * TWEAK: Recognize WooCommerce scheduled sales and cache accordingly
589 * TWEAK: Prevent duplicate `wp-optimize` entry in tables optimization list
590 * TWEAK: Test htaccess capability only when needed by webp feature
591 * TWEAK: Increase compatibility with Aelia plugins
592
593 = 3.2.6 - 15/Jun/2022 =
594
595 * FIX: Incorrect static method calling causes parse Error in PHP 5.6.36
596 * FIX: WebP - Trailing slash file creation issue in PHP 8
597 * FIX: PHP warning in cache rules file
598 * FIX: Asynchronous google fonts loaded twice
599 * TWEAK: Conditional Tags anchor tag fix
600
601 = 3.2.5 - 03/Jun/2022 =
602
603 * FIX: Fix a fatal error that could occur in 3.2.4 if settings had not been saved
604
605 = 3.2.4 - 24/May/2022 =
606
607 * FEATURE: Create a cron job to delete expired cache files
608 * FEATURE: WebP image format can be used to serve images
609 * FIX: Incorrect record count after importing
610 * FIX: Image smushing issues
611 * FIX: Problem with Redirect – Trailing Slash on URLs
612 * FIX: Unused images issue with ACF `repeater` and nested fields
613 * TWEAK: Added functionality for exclude caching based on conditional tags
614 * TWEAK: Update last optimized time for scheduled optimizations
615 * TWEAK: Cache - Prevent already header sent warnings while importing posts
616 * TWEAK: Improved UI for `actionscheduler_` tables
617 * TWEAK: Add filter to allow/disallow `gz` file generation
618 * TWEAK: Show error message to user when WP_CACHE constant can't be removed from wp-config.php due to file permission issue.
619
620 = 3.2.3 - 09/Mar/2022 =
621
622 * FEATURE: Minify: Pre-generate assets
623 * FIX: Cache - 'Purge cache permissions' setting does not allow additional roles to access the purge cache tool
624 * TWEAK: Make smush details button work in media modal window
625 * TWEAK: Do not show overhead in red when the amount is small
626 * TWEAK: Avoid PHP Notices caused by "upgrader_process_complete" action
627 * TWEAK: Force monolog 2.3.* in order to avoid PHP 7.2+ dependency
628
629 = 3.2.2 - 24/Jan/2022 =
630
631 * FEATURE: Cache - Allow debugging of which cache file is chosen
632 * FEATURE: Premium - Cache - Serve cached content for logged in users, per role
633 * FIX: Premium - Unused Images - Fixed trashed images listing
634 * FIX: Image selection issue in compressed and unused image is fixed.
635 * FIX: ACF plugin compatibility issue with select2 JS library
636 * FIX: Premium - Unused Images - Multibyte characters in filename are not recognised correctly
637 * FIX: Table optimization displays wrong information about WP All Import plugin tables
638 * FIX: Potential PHP fatal error - Call to undefined function _wp_get_current_user()
639 * FIX: Minify - correctly minify multiple `calc` function in single property value
640 * FIX: SQL error when keeping post revisions and optimizing
641 * FIX: Cache - Prevent caching WordPress critical error page
642 * FIX: Minify - Google fonts merging issue when the same font is enqueued in both API V1 and V2
643 * FIX: Minify - Make `inherit` and `inline` settings work with Google fonts
644 * FIX: Database error upon plugin activation
645 * TWEAK: Minify - Show a notice if other minification plugins are installed and active
646 * TWEAK: Remove unused bundled JavaScript from minify library to avoid irrelevant scan results
647 * TWEAK: Image compression - Image compression stats include gains on image sizes
648 * TWEAK: Make sure that messages from WP_Error objects in gzip compression are displayed to users.
649 * TWEAK: Prevent PHP notice from WooCommerce deprecation
650 * TWEAK: Create `task` tables upon activation, if needed.
651 * TWEAK: Show error instead of success when table doesn't exist
652 * TWEAK: Update seasonal notices
653 * TWEAK: Prevent PHP fatal error in media list view, when images are makred as compressed
654 * TWEAK: Image edit window - Link does not go to image settings and more/less link not working
655
656 = 3.2.1 - 29/Nov/2021 =
657
658 * FIX: Apply different image compression levels
659 * FIX: Cache - Purge WooCommerce product page after stock update
660 * FIX: Database errors after adding a new site
661 * FIX: Flatsome theme compatibility with google fonts
662 * FIX: Image compression advanced settings, display default backup days instead of empty value.
663 * FIX: Image compression was not working when the image extension used capital letters
664 * FIX: Premium - Cache - Potential PHP error in User-specific cache
665 * FIX: Premium - resolve potential admin-area PHP error if the deprecated mailchimp sync plugin and MC4WP plugin are both active (and potentially other situations where a plugin deactivates another)
666 * FIX: Premium - Unused images - compatibility with PHP 8
667 * FIX: Premium - Unused images - issue with parenthesis in name
668 * FIX: Premium - Unused images - Pagination count doesn't update
669 * FIX: Prevent a PHP notice when using with UpdraftCentral
670 * FIX: Save prioritize maximum compression setting correctly
671 * FIX: Wrong redirect when wiping settings on multisite
672 * TWEAK: Premium - add review link at bottom of settings
673 * TWEAK: Force monolog/monolog and psr/log versions to retain PHP 5.X compatibility/satisfy wordpress.org SVN hooks
674 * TWEAK: Add compatibility with Kinsta
675 * TWEAK: Added functionality for to convert MyISAM to InnoDB
676 * TWEAK: Add filters for minify input string
677 * TWEAK: Cache - Added filter to modify cache exception urls
678 * TWEAK: Cache - Optimize preload from sitemap
679 * TWEAK: Cache - Serve different versions based on cookie consent
680 * TWEAK: changed filter to prevent deprecation notice in php 8.1+
681 * TWEAK: Decide automatically whether to inline css or not based on file size
682 * TWEAK: Fix typo in text domain name
683 * TWEAK: get_hurl function minified.
684 * TWEAK: Improve clarity of debug message when DONOTCACHEPAGE constant is used
685 * TWEAK: Improve DB UI/UX on multisite
686 * TWEAK: Improve minify cache size messages
687 * TWEAK: Making Estatik plugin compatible
688 * TWEAK: Minify - Add JS translations support
689 * TWEAK: Minify HTML only on cache pre-loading
690 * TWEAK: Port from previous semaphore classes to Updraft_Semaphore_3_0
691 * TWEAK: Premium - Unused images - Show that there are images in the trash without having to re-scan everything
692 * TWEAK: Prevent a PHP notice when downloading image compression log file. Fix backup modal styling issue.
693 * TWEAK: Prevent fatal error in gzip settings when stylesheet could not be fetched
694 * TWEAK: Short-circuit trivial case of nothing in the buffer when page-caching, to involve any possible other issues
695 * TWEAK: Update comments count after trackbacks and pingbacks deletion
696 * TWEAK: Update minified asset when the enqueued scripts and styles version change
697 * TWEAK: Use proper constant of includes path in user cache extension
698 * TWEAK: Fix path to `wpo-plugins-tables-list.json` in robots.txt
699
700 = 3.1.12 - 12/Jul/2021 =
701
702 * FEATURE: Ability to defer js files and asynchronously load css files
703 * FEATURE: Option to not aggregate inline styles and scripts
704 * FIX: Always purge this cache HTML issue
705 * FIX: Cache - Enable cache for subfolders and multisite installation with the permalink structure example.com/index.php/a-post-name
706 * FIX: PHP 8 Issue: Minify and Merge Error
707 * FIX: Silent failure of page caching if plugin location not found
708 * TWEAK: Added Update URI header field to avoid accidentally being overwritten with an update of a plugin of a similar name from the WordPress.org Plugin Directory.
709 * TWEAK: Delay displaying notices for 2 weeks
710 * TWEAK: Improve label of when saving a media type in always purge this
711 * TWEAK: Improve query for EWWW IO history
712 * TWEAK: Prevent a PHP notice if using WP-Optimize and MetaSlider on the same site.
713 * TWEAK: Prevent PHP warnings from theme update and google font minify
714 * TWEAK: Skip HTML minification if the total size is > 1MB (takes too long to be worthwhile)
715 * TWEAK: Updating custom compression slider values
716
717 = 3.1.11 - 08/Jun/2021 =
718
719 * FIX: Cache - Don't cache pages for logged-in users when 'Serve cached pages to logged in users' option (new in 3.1.10) is enabled
720
721 = 3.1.10 - 26/May/2021 =
722
723 * FEATURE: Premium - Cache - User-specific cache. Useful for subscription websites, and websites where tailored content is offered to logged-in users.
724 * FEATURE: Page cache now also caches RSS feeds
725 * FEATURE: Ability to exclude files from minify process
726 * TWEAK: Prevent PHP warning when deactivating Minify and the cache folder does not exist anymore
727 * TWEAK: Premium - Lazy-load - Possibility to disable Lazy load on specific pages
728 * TWEAK: Do not enqueue deleted script
729 * FIX: Minify - Some pattern CSS import statements broke site
730 * FIX: Minify - Events triggering
731 * FIX: Google Fonts regression in 3.1.9
732
733 = 3.1.9 - 29/Apr/2021 =
734
735 * FEATURE: Power Tweak - Change meta_key field length and create new index
736 * FEATURE: Premium - Automatic Backups using UpdraftPlus during scheduled optimizations
737 * FEATURE: Keep last X revisions
738 * FIX: Overlapping header notice in mobile view
739 * FIX: Cache - Wildcard not working in cache exclusions
740 * FIX: Prevent error in htaccess when mod_header isn't available
741 * FIX: PHP Fatal error on deleting plugin
742 * FIX: PHP 8 Issue: loadAsync JS error
743 * FIX: RankMath breaks robots.txt
744 * TWEAK: Bypass minify when editing translations using TranslatePress
745 * TWEAK: Purge minify cache from front end
746 * TWEAK: Minify - Prevent cache directory creation while disabled
747 * TWEAK: Add Google Fonts API version 2 support
748 * TWEAK: Minify - Save all tab content settings changes with single Click
749 * TWEAK: Improved optimization preview
750 * TWEAK: Filter the list of preloaded URLs
751 * FEATURE: Premium - Cache - Always purge this page
752 * TWEAK: Update seasonal notices
753 * TWEAK: Bump WP version requirement to 4.5+
754
755 = 3.1.8 - 12/Mar/2021 =
756
757 * FIX: Cache - Warning failed to open dir
758 * FIX: Premium - Unused images - Fixed issue with images including a size suffix similar to WP sizes
759 * FIX: Display optimization data based on retention period
760 * FIX: Scheduled cleanup settings - Invalid date selection
761 * TWEAK: Premium - Separate table optimisations per sub-site
762 * TWEAK: Premium - Unused images - Add compatibility with the Envira Gallery plugin
763 * TWEAK: Page caching: add support for Avada
764 * TWEAK: Add visual clue when image compression was cancelled
765 * TWEAK: Image compression - multi image selection using Ctrl/Shift keys
766 * TWEAK: Premium - Unused images - Reset last clicked image reference when `select none` is clicked
767 * FIX: Premium - Unused images - Pagination not working in the trash
768 * TWEAK: Prevent bots from indexing plugins list json file
769 * TWEAK: Minify - Added a setting to change the time stale cache should be kept
770 * TWEAK: Better support for Beaver Builder
771 * TWEAK: Prevent PHP warning when reading a file's size
772 * TWEAK: Cache - Purge the blog page when updating a post
773 * TWEAK: Cache - Purge next and previous posts on post update
774 * TWEAK: Cache - Purge sitemap files on post update
775
776 = 3.1.7 - 12/Feb/2021 =
777
778 * FEATURE: Premium - Preload key requests (Preload fonts and other assets)
779 * FIX: Detecting Brotli compression issue
780 * FIX: Cache - PHP Warning in URLs to exclude from caching
781 * FIX: Premium - Unused images - Unused Images Tool not recognising Greek characters
782 * FIX: Button for disabling Gzip doesn't showing
783 * TWEAK: Database optimization - Prevent fatal error due to files missing
784 * TWEAK: Skip minify when SCRIPT_DEBUG is set to true
785 * TWEAK: Fixed Font-awesome settings
786 * TWEAK: Add support for different spellings of "Font-awesome"
787 * TWEAK: Update the feature comparison table
788 * TWEAK: Added the option to not show the warning before deleting a table
789 * TWEAK: Wipe all options upon plugin de-installation
790 * TWEAK: Premium - Lazy-load - Lazy load support for background images
791 * TWEAK: Minify - Add file size in the minify cache summary
792 * TWEAK: Detect conflicting plugins for GZIP issue
793 * TWEAK: Database optimization - Include all tables if database prefix is not set on WP install
794 * TWEAK: Premium - Unused images - added "X of X images loaded" for unused trash images
795 * TWEAK: Don't allow to remove actionscheduler_* tables
796 * TWEAK: Premium - Unused images - Show a progression screen when doing any action with unused images
797 * TWEAK: Cache - Enable cache for the old default permalink structure `domain.com/index.php/a-post-name` by creating a folder without the extension
798 * TWEAK: Show previous action as message on Trackbacks or Comments enable or disable.
799 * TWEAK: Prevent deprecation notice on PHP 8.0
800 * TWEAK: Update notices
801
802 = 3.1.6 - 17/Dec/2020 =
803
804 * FIX: Fix wrong class name
805
806 = 3.1.5 - 17/Dec/2020 =
807
808 * FEATURE: Introduction of Power tweaks (premium feature)
809 * FEATURE: Power tweak - replace WooCommerce "Get total spent" query by a faster one
810 * FIX: CloudFlare not detected on gzip and browser caching tabs
811 * FIX: Cloudflare caching issue
812 * FIX: Premium - Unused images - Download CSV warning
813 * FIX: PHP 8 compatibility issue WP_Optimize_Browser_Cache->prepare_interval()
814 * TWEAK: Upgrade jQuery code to deal with deprecations with the latest bundled version
815 * TWEAK: Fix wrong usage of wp_localize_script to prevent warnings in PHP 8
816 * TWEAK: Premium - Unused images - Update the data when moving images to the trash / deleting instead of doing a hard refresh
817 * TWEAK: Change how default exclusions are handled
818 * TWEAK: Now that PHP 8.0 has been released, bump minimum PHP version requirement from PHP 5.4 to 5.6.
819 * TWEAK: Delete WP-O's .htaccess rules at deactivation
820 * TWEAK: Premium - Unused images - Separate unused images and unused image sizes processes
821 * TWEAK: Update jQuery document ready style to the one not deprecated in jQuery 3.0
822 * TWEAK: Minify CSS - Possibility to toggle the google fonts `display=swap` parameter from the UI.
823 * TWEAK: Fix small UI issues
824 * TWEAK: Clean up all cron events when deactivating the plugin
825 * TWEAK: Premium - Possibility to set permissions for purging page cache and minify files.
826 * TWEAK: Bypass minify when editing a post using the Brizy editor
827 * TWEAK: Renamed UpdraftCentral's command classes filter
828 * TWEAK: Bump WP version requirement to 4.4+, and PHP version requirement to 5.4+
829 * TWEAK: Purge caches when updating a plugin / theme (also when updating using a ZIP archive)
830 * TWEAK: Improve the admin bar "cache" menu
831 * TWEAK: Show information about Cloudflare support
832 * TWEAK: Database optimization - Resume optimizing when a timeout occurs
833 * TWEAK: Remove redundant code
834 * TWEAK: Cache feature - Do not cache pages with fatal errors
835 * TWEAK: Cache feature - Do not cache RSS feeds
836 * TWEAK: Page caching - Prevent adding the "comment cookie" when ordering on WooCommerce
837
838 = 3.1.4 - 15/Sep/2020 =
839
840 * FIX: Prevent fatal error when updating
841
842 = 3.1.3 - 15/Sep/2020 =
843
844 * TWEAK: Added Oasis Workflow Pro tables to the list
845 * FIX: Unused images - restore from trash UI issue
846 * FIX: Premium - Unused images - Images trash works on multisite
847 * TWEAK: Prevent GLOB_BRACE warning on systems not supporting it
848 * TWEAK: Minify - Reset minified files when saving an Elementor page or post
849 * TWEAK: Minify - Purge cached assets when UpdraftCentral was updated.
850 * TWEAK: Minify - Enable users to defer all JavaScript, including the merged and minified assets
851 * TWEAK: Minify - Improve general compatibility with The Events Calendar and other plugins
852 * TWEAK: Image compression - prevent database warning when the table `ewwwio_images` does not exist
853 * TWEAK: Image compression - Detect already compressed images by other plugins (ShortPixel Image Optimizer, Smush, Imagify, Compress JPEG & PNG images by TinyPNG, EWWW Image Optimizer)
854 * TWEAK: Image compression - Added compression stats in the Media Library's list view
855 * TWEAK: Image compression - Possibility to restore all compressed images
856 * TWEAK: Image compression - Remove NitroSmush service, which is no longer active.
857 * TWEAK: Image compression - Tweak user agent when requesting to resmush.it
858 * TWEAK: Preserve selected optimizations when saving settings
859 * TWEAK: Page caching - Prevent PHP Notice: Trying to get property 'comment_status' of non-object
860 * TWEAK: Cache - Do not serve from cache when a user has posted a comment
861 * TWEAK: Cache feature - Added integration with Cloudflare (Premium)
862 * TWEAK: Page caching - Rename variables in the global context to more specific names
863 * TWEAK: Premium - Prevent potential JS error in the "unused images" feature
864 * TWEAK: Premium - Unused images - Add support for Slider Revolution
865 * TWEAK: Premium - Unused images - use the URL stored in attachment meta-data as fallback
866 * TWEAK: Premium - Unused images - Only fetch image information when requesting the information to be displayed
867 * TWEAK: Premium - Lazy-load - Show a notice when a known plugin also provides lazy-loading, instead of disabling the feature
868 * TWEAK: Minify - Only load the required vendor classes instead of using composer's autoload in order to prevent compatibility issues
869 * TWEAK: Minify - Added filters `wpo_minify_get_js` and `wpo_minify_get_css` to enable users to do extra processing before saving the code
870 * TWEAK: Minify - Prevent PHP warning when no log is present
871 * TWEAK: Minify - Prevent error when the function gzencode doesn't exist
872 * TWEAK: Removed MetaSlider notice in the notices collection
873
874 = 3.1.2 - 03/Jun/2020 =
875
876 * TWEAK: Only load minify dependencies when the feature is enabled, reducing the risk of conflicts with plugins with obsolete/incompatible library versions
877
878 = 3.1.1 - 03/Jun/2020 =
879
880 * FIX: Minify - Make the feature unavailable when W3 Total Cache is active (an ancient version of the library in that plugin is incompatible and can cause a crash if either plugin attempts to perform minification)
881 * TWEAK: Tweak polling interval for fetching WP-O minify cache information
882
883 = 3.1.0 - 02/Jun/2020 =
884
885 * FEATURE: Major new feature: JS and CSS combination and minification. Read more at: https://getwpo.com/faqs/category/minification/
886 * FIX: Image compression - delete backup images in a non-dated folders
887 * FIX: Premium - Unused images - Only move relevant images to trash
888 * FIX: Cache feature - Show correct preloading status
889 * FIX: Fixed optimizations preview on multisite
890 * FIX: Cache feature - Fixed error handling for cache preload action
891 * FIX: Call to unavailable function was breaking page caching on old WP versions without add_filter() available early
892 * TWEAK: Premium - Do not show the loading overlay on the database screen when loading the unused images list
893 * TWEAK: Periodically update the plugins' tables list (plugin.json)
894 * TWEAK: Do not use wp_get_upload_dir() on WP versions before it is available
895 * TWEAK: Prevent JavaScript error when showing a notice after purging the cache
896 * TWEAK: Cache feature - Better handle errors when enabling or disabling caching
897 * TWEAK: Cache feature - Use HTTP headers to indicate page caching status
898 * TWEAK: Premium - Unused images - Added filter `wpo_unused_images_ids`
899 * TWEAK: Cache feature - Prevent purging the whole cache when saving a WooCommerce product
900 * TWEAK: Premium - Page cache - "Do not cache this post" setting to only be effective when viewing a single post or page.
901 * TWEAK: Cache feature - Added the filter wpo_cache_preload_sitemap_filename to enable overriding of the sitemap name used for preloading
902 * TWEAK: Make all tooltips accessible via keyboard navigation
903 * TWEAK: scandir() usages changed to opendir()
904 * TWEAK: Database optimizations - Add Gravityforms to list and tweak UI
905 * TWEAK: Cache feature - Preload indicates when using a sitemap
906 * TWEAK: Hide the "remember to save settings" notice after saving.
907 * TWEAK: Updater in paid version now will make checks on availability without needing login
908
909 = 3.0.19 - 31/Mar/2020 =
910
911 * FIX: Fix force tables optimisations checkboxes
912 * FIX: Fix tablesorter issue preventing the optimisations from displaying
913 * FIX: Premium - Fix Spam and Trashed Comments preview
914 * TWEAK: Premium - Possibility to exclude a page from cache from the page / post edit
915
916 = 3.0.18 - 27/Mar/2020 =
917
918 * TWEAK: Wipe WP-Optimize settings function
919 * FIX: Don't override advanced-cache.php if caching is disabled
920
921 = 3.0.17 - 19/Mar/2020 =
922
923 * FIX: Show image as uncompressed after restoring backup from the media modal
924 * FIX: Save the last state for "take a backup" checkboxes
925 * TWEAK: Load optimizations and database tables list via ajax
926 * TWEAK: Move database optimization settings to the database page
927 * TWEAK: Improve error handling for ajax requests
928 * TWEAK: Cache feature - Add the filter `wpo_cache_show_cached_by_comment` to enable users to hide the HTML comment <!-- Cached by WP-Optimize... -->
929 * TWEAK: Cache feature - Clear archive page cache when post is updated
930 * TWEAK: Cache feature - Possibility to exclude front page from the cache
931 * TWEAK: Cache feature - Deny direct access to cache files folder
932 * TWEAK: Cache feature - Prevent direct access to cache config content
933 * TWEAK: Image compression - Prevent confusing errors when restoring an image whose backup file was deleted
934 * TWEAK: Only show the plugin's own notices on WP-Optimize's pages
935 * TWEAK: Remove MetaSlider related message
936 * TWEAK: Premium - Page cache - Possibility to generate a cache file per country with WooCommerce geolocation
937 * TWEAK: Premium - Reorganise cache extensions to only keep the code required at the cache generation / fetching stage
938 * TWEAK: Premium - Unused images - add support for non-dated folders
939 * TWEAK: Premium - Unused images - Added wpo_unused_images_per_page filter for filtering images per page count
940 * TWEAK: Premium - Unused images - Possibility to move unused images to trash before completely deleting
941
942 = 3.0.16 - 27/Jan/2020 =
943
944 * FIX: Premium - Unused images - Fixed detection of -rotated and -scaled images
945 * TWEAK: Cache feature - Cache sitemap.xml and robots.txt
946 * TWEAK: Cache feature: fix scheduled preload
947 * TWEAK: Cache feature: save the value of wpo_current_url() to enhance compatibility with Weglot
948 * TWEAK: Fix permissions for restoring or compressing images on multisite
949 * TWEAK: Premium - Tweak UI when fetching unused image infos
950 * TWEAK: Premium - Added compatibility for Oxygen builder
951 * TWEAK: Premium - Added WP-CLI commands for managing cache
952
953 = 3.0.15 - 16/Dec/2019 =
954
955 * FIX: Image compression - Fix restoration on multisite
956 * FIX: Cache feature - Scheduled preload when a sitemap does not exists
957 * TWEAK: Check for headers_sent() before closing the browser connection
958 * TWEAK: Cache feature - Do not show clear cache buttons in the admin bar if the user doesn't have the right capability
959 * TWEAK: Cache feature - Don't cache REST API requests
960 * TWEAK: Tabs to point to the correct URL for direct access
961 * TWEAK: Only log the reason why an URL isn't cached if the constant WPO_CACHE_DEBUG is true
962 * TWEAK: Image compression - Added a new filter 'wpo_image_compression_single_image_options' to allow changing the image quality for each image.
963 * TWEAK: Cache feature - Added instructions how to edit advanced-cache.php file
964 * TWEAK: Detecting Cloudflare and Brotli compression before enabling GZIP
965
966 = 3.0.14 - 25/Nov/2019 =
967
968 * FIX: Fixed default option values for smush backup automatic deletion
969 * FIX: Prevent potential Fatal error when including notices class
970 * FIX: Image compression - Fixed division by zero notification
971 * FIX: Fix list of backup entities before removing unused images
972 * TWEAK: PHP 7.4 compatibility tweak in the fatal error handler
973 * TWEAK: Image compression feature - Backup of original image paths are now relative
974 * TWEAK: Page cache - Fix condition when displaying the message indicating the reason for not caching or serving cache
975 * TWEAK: Page cache - Do not save post to cache if comments are opened and the user has saved their information
976 * TWEAK: Page cache - intelligently handle Google Analytics tracking parameters in URL (Premium)
977 * TWEAK: Page cache - add a query parameter to force display of the reason for not caching a page or serving a cached page
978 * TWEAK: Cache feature - Added is_writable() checking before trying to write advanced-cache.php
979 * TWEAK: Premium - Optimize database optimisations for WP-CLI commands
980 * TWEAK: Premium - Don't run UI requests for WP-CLI actions
981 * TWEAK: Premium - Page cache - Add default WooCommerce currency to the cache config
982 * TWEAK: Page cache - Add the possibility to save default values to the cache config
983 * TWEAK: Page cache - Add a possible secondary cache extensions location using the constant 'WPO_CACHE_CUSTOM_EXT_DIR', to allow keeping the bundled extensions in their original location
984 * TWEAK: UI tweaks
985 * TWEAK: Add missing filename reference in error message
986 * TWEAK: Page cache - Purge cache when Autoptimize's cache is cleared
987 * TWEAK: Image compression - Compatibility with Elementor plugin
988 * TWEAK: Image compression - Added feature to mark all images as uncompressed
989 * TWEAK: Bump supported minimum WP version up to 3.9
990
991 = 3.0.13 - 21/Oct/2019 =
992
993 * FIX: Don't show VIEWs as corrupted database tables
994 * TWEAK: Image compression - Cancel button now stops the compression process
995 * TWEAK: Only show general notice when update notice isn't shown
996 * TWEAK: Improve message when Gzip compression is already enabled
997 * TWEAK: Premium - Use path to include lazy load script
998 * FIX: Image compression - Fixed detecting of uncompressed images
999 * TWEAK: Image compression - Use wp_remote_get() instead file_get_contents() for retrieving compressed images
1000 * TWEAK: Use wp_remote_get() instead file_get_contents() for retrieving compressed images
1001 * TWEAK: Cache feature - add a 'Purge all' cache button to the admin bar
1002 * TWEAK: Premium - Prevent php warning in scheduled optimisations list
1003 * TWEAK: Premium - Unused images feature - Add compatibility with Advanced Custom Fields (ACF) image and gallery fields
1004
1005 = 3.0.12 - 24/Sep/2019 =
1006
1007 * TWEAK: Cache - Purge cache files when updating menu, saving the customizer and editing widgets
1008 * TWEAK: Cache - Do not show the reason for not caching when the request is DOING_CRON
1009 * TWEAK: Premium - Unused images feature - Improved detection on sites with many posts/images
1010 * TWEAK: Automatically delete smush image backups option
1011 * TWEAK: Premium - Unused images feature - Better detection of featured images
1012 * TWEAK: Cache - Ability to purge single page or post from cache
1013 * TWEAK: Cache - Display the content of advanced-cache.php to the user if it was not writable when enabling cache
1014 * TWEAK: Image compression - Automatically delete image backups option
1015 * TWEAK: Image compression - metabox now inherits the settings from the main screen
1016 * TWEAK: Image compression - Added feature to mark images as already compressed by another tool
1017 * TWEAK: Image compression - Added detailed log information when image compression fails.
1018 * TWEAK: Premium - Unused images feature - Improved detection on sites with many posts/images
1019 * TWEAK: Premium - Unused images feature - Better detection of featured images
1020 * TWEAK: Premium - Lazy load - Added WooCommerce support
1021 * TWEAK: Premium - Increased warning level and visibility when deleting unused database tables and unused images
1022 * TWEAK: Prevent a couple of unwanted PHP notices being logged when running cron via the command-line
1023 * TWEAK: Tweaked update notice wording
1024
1025 = 3.0.11 - 07/Aug/2019 =
1026
1027 * FIX: Check the results of opendir() when emptying the cache, to prevent a possible infinite loop if it fails
1028 * FIX: Compatibility issues with WordPress 4.0
1029 * FIX: Replace function that did not exist on PHP 5.2
1030 * TWEAK: Add work-around for plugins which call the WP action comment_post incorrectly
1031 * TWEAK: Change the algorithm for locating file-based-page-cache.php to handle same-server site moves better
1032 * TWEAK: Prevent an unwanted PHP notice caused by Action Scheduler purges
1033
1034 = 3.0.10 - 30/Jul/2019 =
1035
1036 * TWEAK: If short-circuiting the attachment_fields_to_edit filter result, return the pre-existing value
1037 * TWEAK: Adjust wpo_delete_files() and related functions with extra sanity checks
1038
1039 = 3.0.9 - 30/Jul/2019 =
1040
1041 * FIX: Fix bug in logic for sending "Content-Encoding: gzip" header that could cause it to be sent prematurely with non-cached pages
1042
1043 = 3.0.8 - 30/Jul/2019 =
1044
1045 * FIX: Lazy-loading regression in recent Premium release
1046 * FIX: Smush images selection on multisite
1047 * FIX: Displaying WP-Optimize tabs menu on mobile devices
1048 * TWEAK: Disable redundant lazy-loading feature when Divi theme is active
1049 * TWEAK: Improve accuracy of message shown when it is not possible to automatically enable Gzip compression of static resources
1050 * TWEAK: Only output reasons a page was not cached if the wp_footer action was run
1051
1052 = 3.0.7 - 25/Jul/2019 =
1053
1054 * FIX: Fix some logic bugs related to the decision whether to send gzip-encoded cached content
1055 * FEATURE: To aid debugging if WP_DEBUG is turned on then if a page was *not* cached, then the HTML source will now contain the reason(s) why not in the footer
1056 * TWEAK: The is_user_logged_in() function is not necessarily available during a WP 'technical difficulties' scenario
1057 * TWEAK: Purge site homepage cache after updating post or publishing a new post (can be over-ridden with the filter wpo_delete_cached_homepage_on_post_update)
1058
1059 = 3.0.6 - 25/Jul/2019 =
1060
1061 * FIX: Regression causing incorrect JavaScript filenames in the Premium release in 3.0.5
1062 * TWEAK: Also add cache-busting for the compiled handlebars file
1063 * TWEAK: Change the handlebars enqueue handle to prevent double loading
1064
1065 = 3.0.5 - 23/Jul/2019 =
1066
1067 * FIX: Short-circuit Updraft_Smush_Manager::add_compress_button_to_media_modal() outside of a dashboard context, so that plugins or themes that hook into some dashboard hooks outside of that context can't cause fatal errors
1068 * TWEAK: Added suffixes with WP-Optimize version number to js, css files
1069 * TWEAK: Change the method used to generate the configuration file path in advanced-cache.php; no issues were reported, but analysis indicated a potential way to generate a path that would not agree with what was written by saving settings; and also another way to generate an invalid path on Windows webservers running on non-standard ports.
1070 * TWEAK: Use WPO_CACHE_CONFIG_DIR constant instead string value in advanced-cache.php
1071
1072 = 3.0.4 - 20/Jul/2019 =
1073
1074 * FIX: Fixed a regression in 3.0 with orphaned relationship data optimization
1075
1076 = 3.0.3 - 20/Jul/2019 =
1077
1078 * TWEAK: Prevent saving of page cache settings when the page cache was already off and another page cache plugin was active from over-writing the other plugin's advanced-cache.php
1079
1080 = 3.0.2 - 19/Jul/2019 =
1081
1082 * TWEAK: Rename in order to cache-bust sites that cached old versions of the JS admin scripts
1083 * TWEAK: Prevent unwanted PHP notice if saving page cache settings without ever having turned the cache on
1084
1085 = 3.0.1 - 18/Jul/2019 =
1086
1087 * FIX: Prevent a potential stray line of text appearing
1088
1089 = 3.0.0 - 17/Jul/2019 =
1090
1091 * FEATURE: Adds a caching feature, with page cache, browser cache control and gzip control
1092 * TWEAK: Smush feature added to medial modal
1093 * TWEAK: Remove references to Keyy
1094 * TWEAK: Image compression metabox tweaks
1095 * TWEAK: Preload after purging, If preload schedule is enabled
1096 * TWEAK: Prevent image compression AJAX call from firing upon every tab change
1097 * TWEAK: Load assets in admin_enqueue_scripts()
1098 * TWEAK: Smush all image sizes
1099 * TWEAK: Add quick feedback link
1100 * TWEAK: Delete the original backup file when an attachment file has been deleted
1101 * TWEAK: Remove die() from shutdown handler
1102 * TWEAK: Remove references to Keyy
1103
1104 = 2.3.4 - 10/Jun/2019 =
1105
1106 * FIX: Incorrect file paths on multisites
1107 * FIX: Wrong DB Schema caused image compression to fail on multisites
1108 * TWEAK: Improve image compression UI
1109 * TWEAK: Add the possibility to hide the image optimisation metabox in the media edit screen.
1110 * TWEAK: Fix potential PHP notice in task queue when Automatic Smush is activated
1111 * TWEAK: Improve JSON-reparser to cope with even more exotic junk from some setups with problems elsewhere in their stack
1112 * TWEAK: Remove the numerical index column from the list of tables
1113 * TWEAK: Prevent methods being called when create_task returns false
1114 * TWEAK: Prevent PHP log warnings when images are missing from server (log in WP-O internal log instead)
1115 * TWEAK: Changed the default settings page from 'Settings' to 'Database'
1116 * TWEAK: Better discoverability of Premium features
1117 * TWEAK: Use new task manager class Updraft_Task_Manager_1_1
1118
1119 = 2.3.3 - 17/Apr/2019 =
1120
1121 * FIX: Revert faulty change to the default settings page in 2.3.2, which prevented optimization buttons working
1122
1123 = 2.3.2 - 17/Apr/2019 =
1124
1125 * FIX: Non-ASCII filenames could get mangled in the image optimization preview, resulting in images not shown (and WP 404 generation on the back-end).
1126 * FIX: Optimizing a table now runs correctly after automatic pre-optimize backup
1127 * TWEAK: Changed the default settings page from 'Settings' to 'Database'
1128 * TWEAK: Updated plugin links
1129
1130 = 2.3.1 - 16/Apr/2019 =
1131
1132 * FIX: Fix a code path that could cause a fatal error on PHP 5.2
1133 * TWEAK: Optimizing a table should then refresh the information in the UI shown for it
1134 * TWEAK: Use an image compression logfile path inside the uploads hierarchy, with unpredictable salted element
1135
1136 = 2.3.0 - 12/Apr/2019 =
1137
1138 * FEATURE: Compress images using lossy and lossless compression - both existing images, and newly uploaded
1139 * FIX: Wrong information about corrupted tables
1140 * TWEAK: Prevent PHP notices on calls from UpdraftCentral
1141 * TWEAK: Prevent notices about Premium showing in Premium, correct button text, update coupon
1142 * TWEAK: Prevent the overdue cron checker running twice instead of once
1143
1144 = 2.2.13 - 04/Mar/2019 =
1145
1146 * FIX: Fixed RTL layout
1147 * FIX: Detect more relationships between tables and plugins in orphaned database tables optimization
1148 * FIX: Fixed orphaned relationships optimization
1149 * TWEAK: The informational list of WP core tables missed some possible extra tables on multisite
1150
1151 = 2.2.12 - 07/Feb/2019 =
1152
1153 * TWEAK: Updated information on More plugins tab
1154 * TWEAK: Fix header layout when a system or third party notification are shown
1155 * TWEAK: (Premium) Fix layout in unused images list mode
1156 * TWEAK: Improve data reliability in javascript
1157 * TWEAK: Improve orphaned relationships data optimization
1158 * TWEAK: Wrong message for "remove spam and trashed comments" optimization
1159 * TWEAK: Output additional information if table was not deleted
1160 * FIX: Added escaping for table names in database queries
1161 * FIX: Fix another possible fatal error due to missing get_plugins() function
1162 * FIX: Improve identification of installed/active plugins
1163
1164 = 2.2.11 - 16/Jan/2019 =
1165
1166 * FIX: A regression in the "identify table by owner" feature caused optimizing to silently fail on some tables
1167 * TWEAK: Added ability to exclude lazy load images by class
1168
1169 = 2.2.10 - 11/Jan/2019 =
1170
1171 * FEATURE: Added the ability to download unused images list (Premium version) as a CSV file
1172 * FIX: Load scripts and styles only on WP-Optimize pages
1173 * FIX: Fix a possible fatal error due to missing get_plugins() function
1174 * TWEAK: Remember selected optimizations on Database page
1175 * TWEAK: Prevent PHP notices when saving settings or optimizing in some circumstances
1176
1177 = 2.2.9 - 03/Jan/2019 =
1178
1179 * FIX: Change a newly-introduced fragment that was not compatible with PHP 5.2
1180 * TWEAK: Tweak some other code that had PHP 5.2 compatibility issues
1181
1182 = 2.2.7 - 31/December/2018 =
1183
1184 * RE-FACTOR: Refactoring and reorganisation of the UI
1185 * TWEAK: Added feature to view unused images as list
1186 * TWEAK: Fix sorting sizes columns in Tables information to take into account textual modifiers
1187 * FIX: MetaSlider images detected as unused
1188 * FIX: Preview for Trashed posts optimization doesn't work
1189 * FIX: Unselected optimizations could be run on a scheduled run
1190
1191 = 2.2.6 - 30/October/2018 =
1192
1193 * FEATURE: Added Gzip compression support
1194 * FIX: Unexpected content in the footer after preview popup closed
1195 * TWEAK: Mark as supporting WordPress 5.0
1196 * TWEAK: Update seasonal notices
1197 * TWEAK: Removed redundant checkbox for Lazy Loading settings
1198 * FEATURE: Remove orphaned database tables, and identify (many) known tables by plugin.
1199
1200 = 2.2.5 - 24/August/2018 =
1201
1202 * FEATURE: Preview data before deleting. (Premium)
1203 * FEATURE: Lazy Loading for images, iframes and videos. (Premium)
1204 * FEATURE: Added custom capabilities wpo_prevent_run_optimizations and wpo_prevent_manage_options (Premium)
1205 * FIX: Correct tables order sorting
1206 * FIX: Wrong numbers in total cleaned field
1207 * FIX: Don't show incorrect overhead value if option innodb_file_per_table disabled
1208 * TWEAK: Added option to clean "all" transient options and network-wide transient options for multisite WordPress installation
1209 * TWEAK: Links to UpdraftPlus automatically Install/Activate UpdraftPlus plugin
1210 * TWEAK: FAQ links point to getwpo.com
1211 * TWEAK: Auto-draft, revision posts and pingback comments removing with their meta data
1212 * TWEAK: Scheduler is not using the WordPress timezone settings
1213 * TWEAK: Detecting corrupted tables in background.
1214 * TWEAK: Unused Images optimization correctly detects images in pages built with popular plugins - Page Builder by SiteOrigin, Visual Composer, Beaver Builder, Elementor.
1215 * TWEAK: Paginate unused images
1216 * TWEAK: Added checkbox for select all optimizations
1217 * TWEAK: Prevent deleting homepage images in image optimization
1218 * TWEAK: Override the default multisite site list fetch limit of 100 sites
1219
1220 = 2.2.4 - 07/May/2018 =
1221
1222 * TWEAK: Changed the term 'Automatic' to 'Scheduled'.
1223 * TWEAK: Show correct table type for views
1224 * TWEAK: Fixed string spelling and syntax errors
1225 * TWEAK: Disabled Simple History logging option if plugin is not installed.
1226 * TWEAK: Prevented PHP notices in repair tables functionality
1227
1228 = 2.2.3 - 04/Apr/2018 =
1229
1230 * FEATURE: Added the ability to repair corrupted database tables
1231 * FIX: Fixed dismiss notices functionality
1232 * FIX: When detecting potentially unused images, exclude those found mentioned in the options table(s)
1233 * TWEAK: Load WPO translations (logger classes info included) when template is pulled for UpdraftCentral-WPO module
1234 * TWEAK: Add get_js_translation command for the UpdraftCentral WPO module
1235 * TWEAK: Added logging for fatal errors
1236
1237 = 2.2.2 - 28/Feb/2018 =
1238
1239 * TWEAK: Prevent possible PHP notice when parsing logger options
1240
1241 = 2.2.1 - 28/Feb/2018 =
1242
1243 * FIX: Fix number counting in Table information tab
1244 * FIX: Fix InnoDB optimization UI
1245 * TWEAK: Removed orphaned attachment optimization from optimizations UI list
1246
1247 = 2.2.0 - 19/Feb/2018 =
1248
1249 * FEATURE: Added the ability to export/import WP-Optimize settings
1250 * FEATURE: Extended the logging class to include logging for Simple History Logger, Slack, Email, syslog and a simple 'ring' log
1251 * FEATURE: Added the ability to optimize ARCHIVE and Aria (MariaDB) database tables.
1252 * FEATURE: Added the ability to sort data in the "Table Information" tab
1253 * FEATURE: Added the ability to search tables in "Table Information" tab
1254 * FEATURE: Added the ability to optimize an individual table. (Premium)
1255 * FEATURE: Added the ability to optimize multisites. (Premium)
1256 * FEATURE: Allow the user to create arbitrarily complex automatic optimization schedules (Premium)
1257 * FEATURE: Added ability to use WP CLI interface for run optimizations. (Premium)
1258 * FIX: Auto clean-up settings not optimizing database tables
1259 * FIX: Comments count after related to comments optimization
1260 * FIX: Fix unapproved comments count
1261 * TWEAK: Add functions to pull WP-Optimize templates for UpdraftCentral
1262 * TWEAK: Allow user to tick the "Take a backup with UpdraftPlus before optimizing" option from UpdraftCentral
1263 * TWEAK: Show last automatic optimization time using site's configured timezone and locale
1264 * TWEAK: Extra MySQL and MariaDB checks for optimization, along with an over-ride functionality.
1265 * TWEAK: updated previous optimizations and added optimizations for trash posts, trash comments and orphaned attachments
1266 * TWEAK: Use higher-quality spinner image
1267 * TWEAK: Adjusted notices about other products
1268 * TWEAK: Added message for multisite users with proposal to upgrade to Premium.
1269 * TWEAK: Optimize the check for whether both free and Premium are installed
1270 * TWEAK: Added Premium / Plugin Family tab
1271 * TWEAK: Added seasonal dashboard notices
1272
1273 = 2.1.1 - 28/Feb/2017 =
1274
1275 * FEATURE: Added the ability to take a automatic backup with UpdraftPlus (https://updraftplus.com) before an optimization
1276 * FEATURE: When optimizing from the dashboard, tables are now optimized one by one, to reduce the scope for timeouts
1277 * FIX: Removal of sitemeta items from main site on multisite install was not proceeding
1278 * TWEAK: Adding premium bootstrapping to WP-Optimize for adding premium features in the future
1279 * TWEAK: A few wording tweaks, plus automatically refresh the page if the 'admin bar menu' option is changed
1280 * TWEAK: Introduce internal logging API
1281
1282 = 2.1.0 - 28/Dec/2016 =
1283
1284 * FOCUS: This release concentrates upon the user-interface, and in particular upon improving the clarity of each part, and making optimizations, saves and other actions possible without page reloads.
1285 * FEATURE: Any optimisation can now be run individually with a single button press
1286 * TWEAK: All optimisations run via the dashboard page are now run via AJAX (no page refresh)
1287 * TWEAK: Settings saving now takes place via AJAX (no page refresh)
1288 * TWEAK: Navigation between different tabs now takes place without a page refresh
1289 * TWEAK: The "trackback/comments" actions section now operates via AJAX (no page refresh needed)
1290 * TWEAK: "Refresh" button in the "Status" widget now refreshes via AJAX (no page refresh needed)
1291 * TWEAK: When saving settings or running an optimization, the "Status" widget now automatically refreshes
1292 * TWEAK: Make the admin bar menu into a drop-down, making it quicker to access individual tabs
1293 * TWEAK: Call set_time_limit to reduce the chances of PHP self-terminating via reaching max_execution_time
1294 * TWEAK: Introduce dashboard notice infrastructure
1295 * TWEAK: The lines showing information on how many spam/trashed posts and comments existed were incomplete
1296
1297 = 2.0.1 - 12/Dec/2016 =
1298
1299 * OWNERSHIP: WP-Optimize is now under the leadership of Team UpdraftPlus - https://updraftplus.com. A big thank you to Ruhani (who remains on-board) for his leadership of WP-Optimize until this point! Layout, branding and links have been altered to reflect this change.
1300 * RE-FACTOR: Internal code completely re-factored, laying the foundations for future improvements
1301 * TWEAK: Various filters introduced internally for easier customisation
1302 * TWEAK: Marked form element labels, so that they can be clicked
1303 * TWEAK: Various small UI improvements (more to come in future releases)
1304 * FIX: Previous versions could potentially run OPTIMIZE commands on tables in the same MySQL database (if it was shared) belonging to other sites
1305 * FIX: Previous versions were not deleting most delete-able transients. This is now fixed, with the modification that we now delete all *expired* transients.
1306 * LANGUAGES: Removed language packs and screenshots that are already carried by wordpress.org, reducing the plugin download / install size
1307
1308 = 1.9.1 =
1309 * Ability to clean up Unused Post Meta, Comment Meta and Broken Relationship Data
1310 * Warning prompts for RED marked items and optimize button
1311 * Better transient options cleaning.
1312 * Language files update
1313 * Various other fixes
1314
1315 = 1.9 =
1316 * 27 Weeks retention option equivalent to 6 month
1317 * Compatibility update.
1318 * Language files update
1319 * Removed email notifications, it doesn't work on many servers
1320 * Various other fixes
1321
1322 = 1.8.9.10 =
1323 * Security Patch provided by Dion at WordPress.org and Security report provided by http://planetzuda.com .
1324 * Language files update
1325
1326 = 1.8.9.8 =
1327 * Daily Schedule Option Added
1328 * Email notification on automatic optimization, default email is admin email address. You can change this in settings
1329
1330 = 1.8.9.7 =
1331 * BUGFIX for Settings screen
1332 * Enable/Disable trackbacks / comments buttons removal and use select box instead. Extra button caused the Auto Scheduler to get into reset mode.
1333
1334 = 1.8.9.6 =
1335 * There were few number formatting problem and detection of InnoDB table format. Charles Dee Rice solved the problems that I missed out. Thank you!
1336 * Duplicate msg fixed
1337 * Enable/Disable trackbacks for all published post
1338 * Enable/Disable comments for all published post
1339
1340 = 1.8.9 =
1341 * ONE MILLION+ Downloads. THANK YOU!!
1342 * Language updates platform - see readme file for details.
1343 * Mixed type tables optimization supported and in BETA
1344 * Removal of akismet metadata from comments
1345 * Removal of other stale metadata from comments
1346 * InnoDB tables won't be optimized.
1347 * Main screen user selection will be saved. Red items selection will not be saved
1348 * Scheduled time display will be shown according to WordPress blog local time
1349
1350 = 1.8.6 =
1351 * Language files update
1352 * Fix issues with total gain number problem
1353 * InnoDB tables detected and features disabled automatically, tables view will not show Overhead. Main view will not show space saved, or total gain.
1354
1355 = 1.8.5 =
1356 * Version bump + modified translator names
1357
1358 = 1.8.4 =
1359 * Problem with readme file changes
1360
1361 = 1.8.3 =
1362 * Minor fixes
1363
1364 = 1.8.1 =
1365 * A whole lot more code optimization
1366 * Slick new interface
1367 * Responsive mobile interface, supports running from iPhone/Android/Tablets
1368 * Tables moved to independent tab
1369 * Optimize faster
1370 * GitHub updater support
1371 * I do not monitor WP forums, support email at plugins(at)ruhanirabin.com
1372
1373 = 1.7.4 =
1374 * More Translation compatibility.
1375 * Added MYSQL and PHP versions beside the Optimizer tab.
1376
1377 = 1.7.3 =
1378 * Fixed Problems with wpMail.
1379 * Fixed Problems with wpAdmin menubar.
1380 * Fixed Permission issues on some site.
1381 * Language files update
1382
1383 = 1.7.2 =
1384 * All MySQL statements re-factored into native WP database calls - necessary for future versions of MySQL and WordPress.
1385 * Upgrade to match WordPress 3.9 changes.
1386 * Language files update
1387 * Now postmeta cleanup is disabled from code - it will be updated soon with native WordPress postmeta cleaning options.
1388
1389 = 1.6.2 =
1390 * Language files update
1391
1392 = 1.6.1 =
1393 * Fixed - trashed Comments was not clearing out.
1394 * Language files update
1395
1396 = 1.5.7 =
1397 * Language files update
1398
1399 = 1.5.6 =
1400 * "Unused Tags cleanup" option made a problem on some WordPress sites that it deletes empty categories. Since I am unable to replicate this problem. I am making this option disabled.
1401 * Language files update
1402 * Minor maintenance and fixes.
1403
1404 = 1.5.5 =
1405 * Safe clean up options are selected by default, defaults are not by user preference for now (Optimizer Page).
1406 * All the potentially dangerous clean up options are MARKED RED.
1407 * Language files update
1408 * New features explained - http://j.mp/HBIoVT (read the blog post).
1409
1410 = 1.5.4 =
1411 * More path related fixes for various warnings. Maintenance
1412
1413 = 1.5.2 =
1414 * Fatar error fix, if it disabled your wp admin, please remove the wp-optimize directory and reinstall again.
1415
1416 = 1.5.1 =
1417 * Option to add or remove link on wp admin bar (even enabled - it is visible to admin only).
1418 * New admin interface.
1419 * Settings to select items for automatic optimization.
1420 * Removal of WordPress transient options
1421 * Removal of orphaned post meta tags.
1422 * Removal of unused tags.
1423 * 3 different schedule times added (weekly, bi-weekly and monthly).
1424 * Language files update
1425 * Code optimization and translation strings updated.
1426 * Integrated development log from TRAC
1427
1428 = 1.1.2 =
1429 * removed persistent admin bar menu item
1430 * Language files update
1431
1432 = 1.1.1 =
1433 * Fix Fatal Error.
1434
1435 = 1.1.0 =
1436 * Added WP-Optimize to admin menu bar on top. Always accessible.
1437 * Added wp-optimize.pot file for translators (inside ./languages/ folder).
1438 * Last auto optimization timestamp / display
1439 * Fix possible scheduler bug as requested at support forum
1440 * Fix some other codes regarding SQL query parameters
1441 * Ability to keep last X weeks of data, any junk data before that period will be deleted - this option affects both Auto and Manual process. Appreciate time and help from Mikel King (http://mikelking.com/) about this matter.
1442
1443 = 1.0.1 =
1444 * Removed auto cleanup of trackbacks or pingbacks.. it's better for people to do it manually.
1445
1446 = 0.9.8-beta =
1447 * added beta tag
1448
1449 = 0.9.8 =
1450 * Remove all trackbacks and pingbacks (can significantly reduce db size)
1451 * Remove all Trash Comments and Posts
1452 * Enable/Disable weekly schedules of optimization. This is an EXPERIMENTAL feature. It may or may not work on all servers.
1453
1454 = 0.9.4 =
1455 * Non Initialized variables fixes as of https://wordpress.org/support/topic/plugin-wp-optimize-errors-in-debug-mode?replies=2
1456
1457 = 0.9.3 =
1458 * Removed security tools.
1459 * Full database size displayed
1460
1461 = 0.9.2 =
1462 * Now the plugin is visible to site administrators only. Authors, Contributors, Editors won't be able to see it.
1463
1464 = 0.9.1 =
1465 * Fixed problem with database names containing "-" .
1466 * NEW Main Level Menu Item added for WP-Optimize, You might need to scroll down to see it
1467 * Compatibility with WordPress 3.1
1468 * Language files update
1469 * Added auto draft post removal feature
1470
1471 = 0.8.0 =
1472 * Added Multilanguage capability
1473 * Language files update
1474
1475 = 0.7.1 =
1476 * POST META Table cleanup code removed cause it is making problems with many hosts
1477
1478 = 0.7 =
1479 * Added cleanup of POST META Table along with the revisions
1480 * Fixed some minor PHP tags which causes the total numbers to disappear
1481 * Now requires MySQL 5.1.x and PHP 5.1.x
1482
1483 = 0.6.5.1 =
1484 * Fix Interface
1485
1486 == Upgrade Notice ==
1487 * 3.2.22: Various tweaks - a recommended update for all
1488