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

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