PluginProbe ʕ •ᴥ•ʔ
WP Super Cache / 3.0.0
WP Super Cache v3.0.0
3.1.1 trunk 0.1 0.2 0.3 0.3.1 0.4 0.5 0.5.1 0.5.2 0.5.3 0.6.2 0.6.3 0.6.4 0.6.5 0.6.6 0.6.7 0.6.8 0.7 0.7.1 0.8 0.8.1 0.8.2 0.8.3 0.8.4 0.8.5 0.8.6 0.8.7 0.8.8 0.8.9 0.9 0.9.1 0.9.2 0.9.3 0.9.3.1 0.9.4 0.9.4.1 0.9.4.2 0.9.4.3 0.9.5 0.9.6 0.9.6.1 0.9.7 0.9.8 0.9.9 0.9.9.1 0.9.9.2 0.9.9.3 0.9.9.4 0.9.9.5 0.9.9.6 0.9.9.7 0.9.9.8 0.9.9.9 1.0 1.0.1 1.1 1.1.1 1.10.0 1.11.0 1.12.0 1.12.1 1.12.2 1.12.3 1.12.4 1.2 1.2.1 1.3 1.3.1 1.3.2 1.3.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.7.1 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.8 1.9 1.9.1 1.9.2 1.9.3 1.9.4 2.0.0 2.0.1 3.0.0 3.0.1 3.0.2 3.0.3 3.1.0
wp-super-cache / CHANGELOG.md
wp-super-cache Last commit date
assets 1 year ago inc 1 year ago js 1 year ago languages 2 years ago partials 1 year ago plugins 1 year ago rest 2 years ago src 3 years ago styling 11 months ago vendor 11 months ago CHANGELOG.md 11 months ago LICENSE.txt 3 years ago README.md 2 years ago SECURITY.md 2 years ago advanced-cache.php 2 years ago composer.json 11 months ago composer.lock 11 months ago ossdl-cdn.php 2 years ago package.json 11 months ago readme.txt 11 months ago wp-cache-base.php 2 years ago wp-cache-config-sample.php 4 years ago wp-cache-phase1.php 2 years ago wp-cache-phase2.php 1 year ago wp-cache.php 11 months ago
CHANGELOG.md
821 lines
1 # Changelog
2
3 ### This is a list detailing changes for all Super Cache releases.
4
5 The format is based on [](https://keepachangelog.com/en/1.0.0/Keep a Changelog](https://keepachangelog.com/en/1.0.0/](https://keepachangelog.com/en/1.0.0/)
6 and this project adheres to [](https://semver.org/spec/v2.0.0.htmlSemantic Versioning](https://semver.org/spec/v2.0.0.html](https://semver.org/spec/v2.0.0.html).
7
8 ## [3.0.0] - 2025-06-10
9 ### Changed
10 - Code: First pass of style coding standards. [#42734]
11 - Update package dependencies. [#43425] [#43766] [#43839]
12
13 ### Removed
14 - General: Update minimum WordPress version to 6.7. [#43192]
15
16 ### Fixed
17 - Code: Update stylesheets to use hex instead of named colors. [#42920]
18 - General: Improve WP CLI support by making variables global. [#43286]
19 - Linting: Fix more Stylelint violations. [#43213]
20
21 ## [2.0.1] - 2025-04-04
22 ### Changed
23 - Code: Use function-style `exit()` and `die()` with a default status code of 0. [#41167]
24 - Update package dependencies. [#40980] [#41659] [#42180] [#42308] [#42762] [#42815]
25
26 ## [2.0.0] - 2025-01-10
27 ### Added
28 - Enable test coverage. [#39961]
29
30 ### Changed
31 - General: Indicate compatibility with the upcoming version of WordPress - 6.7. [#39786]
32 - Update package dependencies. [#38822] [#38870] [#39004] [#39278] [#39288] [#39653] [#40116] [#40515]
33
34 ### Removed
35 - Cleaned up legacy code. [#40200]
36 - General: Update minimum PHP version to 7.2. [#40147]
37 - General: Update minimum WordPress version to 6.6. [#40146]
38
39 ### Fixed
40 - Caching: make sure there is cache content to serve, even if the cache file was found [#40342]
41 - Ensure homepage cache gets flushed when a post is unpublished. [#40879]
42 - Lossless image optimization for images (should improve performance with no visible changes). [#38750] [#38981]
43 - Move trailing space out of i18n message. [#39305]
44 - Fix apache_request_headers fallback so it works when that command is disabled. [#39951]
45
46 ## [1.12.4] - 2024-07-17
47 ### Removed
48 - General: update WordPress version requirements to WordPress 6.5. [#38382]
49
50 ### Fixed
51 - Fixed problem with is_utf8_charset missing in WP 6.6 [#38383]
52
53 ## [1.12.3] - 2024-07-10
54 ### Fixed
55 - Don't delete the log viewer when doing garbage collection [#38276]
56 - Fix clearing the cache when scheduled posts are published [#38263]
57
58 ## [1.12.2] - 2024-06-27
59 ### Added
60 - add an admin notice to encourage migration to Jetpack Boost [#37933]
61 - modify boost install code so it can be used by multiple buttons [#37824]
62 - notify Boost of migration to that plugin [#37797]
63
64 ### Changed
65 - General: indicate compatibility with the upcoming version of WordPress - 6.6. [#37962]
66 - tell user that Cache module of Boost must be deactivated to use WPSC [#37265]
67 - WP Updated banner designs, added auto-install Jetpack Boost buttons [#37963]
68
69 ### Fixed
70 - Detect when WP_CACHE is defined with "const" in wp-config.php [#38022]
71 - Align detection of Boost installs with activation of that plugin [#37896]
72 - create the cache directory before creating the config file [#38028]
73 - do not show migration notice if already using Boost Cache [#38005]
74 - fixed a PHP warning when deactivating the plugin. [#37968]
75 - make sure plugins links is an array before using it. [#37604]
76 - remove the preload interval based on the post count. Preload as often as you want. [#37618]
77 - renamed WPSC_VERSION because it conflicted with other plugins [#38007]
78
79 ## [1.12.1] - 2024-05-09
80 ### Changed
81 - General: update WordPress version requirements to WordPress 6.4. [#37047]
82 - General: use wp_admin_notice function introduced in WP 6.4 to display notices. [#37051]
83
84 ### Fixed
85 - Fix the CDN functionality when cache is disabled [#37112]
86 - Do not define DONOTCACHEPAGE if it is already defined [#36423]
87
88 ## [1.12.0] - 2024-03-11
89 ### Added
90 - Setup: Detect Jetpack Boost cache and suggest troubleshooting steps [#36018]
91 - WP Super Cache: added WPSC_PRELOAD_POST_INTERVAL and WPSC_PRELOAD_LOOP_INTERVAL to modify preload timings [#36246]
92
93 ### Changed
94 - Code Modernization: Replace usage of strpos() with str_contains() [#34137]
95 - Code Modernization: Replace usage of strpos() with str_starts_with(). [#34135]
96 - Code Modernization: Replace usage of substr() with str_starts_with() and str_ends_with(). [#34207]
97 - Fix blurry Automattic logo. [#34985]
98 - General: avoid deprecation warnings when trying to get URLs in PHP 8.2 [#34962]
99 - General: indicate compatibility with the upcoming version of WordPress, 6.5. [#35820]
100 - General: updated PHP requirement to PHP 7.0+ [#34126]
101 - General: update WordPress version requirements to WordPress 6.3. [#34127]
102 - WP Super Cache: check for Boost Cache when creating advanced-cache.php [#36027]
103 - WP Super Cache: fixed labels on advanced settings page [#36067]
104 - WP Super Cache: remove notifications that preload started working again. [#35960]
105
106 ### Fixed
107 - Supercache: add "days" to "Next preload scheduled" message. [#34509]
108 - Super Cache: with rebuild enabled, apply that to subdirectories instead of deleting them. [#35032]
109 - WP Super Cache - fix the wp_super_cache_clear_post_cache filter so the homepage cache isn't deleted too. [#36069]
110 - WP Super Cache: bail if the request uri isn't set. It means the plugin isn't configured yet. [#36024]
111 - WP Super Cache: don't create an output buffer if there's already one active [#36124]
112 - WP Super Cache: fixed serving a cached page on POST with late init enabled. [#36211]
113 - WP Super Cache: fix the output buffer check, and make debug logs pre-formatted. [#36158]
114 - WP Super Cache: if the preload number of posts is not in the list, then add it [#36249]
115
116 ## [1.11.0] - 2023-11-08
117 ### Added
118 - Super Cache: fix "accept header" check, and add new "wpsc_accept_headers" filter on accept header list [#33972]
119
120 ### Changed
121 - General: indicate full compatibility with the latest version of WordPress, 6.4. [#33776]
122 - General: update WordPress version requirements to WordPress 6.2. [#32762]
123 - Overhauled visual styling to match Jetpack branding [#32981]
124 - Updated package dependencies. [#32307]
125 - Updated package dependencies. [#32605]
126 - Updated package dependencies. [#32966]
127 - Updated package dependencies. [#33498]
128
129 ### Fixed
130 - Caching: make sure $wp_cache_request_uri is defined to avoid warnings about "NULL" parameters. [#32629]
131 - super-cache: fixed null parameter warning when using $supercachedir [#33970]
132 - Super Cache: cancel the full preload job correctly. [#33560]
133
134 ## [1.10.0] - 2023-08-16
135 ### Added
136 - Caching: Added support for the 'Accept' HTTP Header. Prevent caching JSON content. [#29456]
137 - Preload: Improved preload notification panel shows the last 5 preloaded URLs. [#31017]
138
139 ### Changed
140 - General: Indicate full compatibility with the latest version of WordPress, 6.3. [#31910]
141 - General: Update Boost install / activate card styles. [#31311]
142 - General: Update documentation links to point to Jetpack.com docs. [#32164]
143 - General: Update the contributors list. [#29241]
144 - Preload: Faster and more robust preloading slower hosts. [#30450]
145
146 ### Removed
147 - Cleanup: Removes unwanted development environment files from production version of the plugin. [#30216]
148 - Cleanup: Remove unused "object cache" code. [#31783]
149
150 ### Fixed
151 - Cache Compression: Fix PHP warning appearing in gzip output stream. [#31487]
152 - Caching: Reject unknown or malformed URIs to prevent PHP warnings. [#31786]
153 - Dynamic Caching: Fixed incorrect encoding headers when using dynamic caching with compression. [#32106]
154 - Setting page: Fixed boost banner getting oversized when zoomed out
155 - General: Fix incorrect Debug Log URL for nested WordPress installations. [#29985]
156 - General: Fix links to cache directory on sites that are in a sub directory. [#30872]
157 - General: Updated Nginx documentation hyperlink. [#31420]
158 - Preload: No longer deletes child taxonomies during preload. [#30830]
159 - Preload: Use a constant instead of hard-coded email numbers in preload dropdown. [#30713]
160 - Caching: Prevent Super Cache from attempting to gunzip content which is not zipped
161 - General: Fix null/false warning in PHP8.1
162
163 ## [1.9.4] - 2023-02-28
164 ### Added
165 - Added new filter which controls cache clearing on post edit. [#28556]
166 - Added a check to ensure preload cronjobs exist when updating preload settings. [#28545]
167
168 ### Changed
169 - Updated contributors list. [#28891]
170
171 ### Fixed
172 - Fixed undefined PHP variable when trying to delete a protected folder. [#28524]
173 - Fixed deprecation warnings on PHP 8.1+. [#28959]
174
175 ## [1.9.3] - 2023-01-23
176 ### Added
177 - Added new filters to set mod_expires rules and HTTP headers in the cache htaccess file. [#28031]
178
179 ### Fixed
180 - Fixed an issue that caused wp-config.php file permissions to change. [#28164]
181 - Fixed missing missing action 'wp_cache_cleared' when clearing the cache on post update. [#28481]
182
183 ## [1.9.2] - 2022-12-09
184 ### Added
185 - Added a dismissable option to install Jetpack Boost. [#26702]
186 - Improved stability with the start of an end-to-end test suite. [#26462]
187 - Tested with v6.1 of WordPress. [#26831]
188
189 ### Changed
190 - Updated package dependencies.
191
192 ### Fixed
193 - Compatibility: Avoid use of QUERY_STRING value, which is not available in all environments. [#26251]
194 - Updated links to related plugins to remove click-tracking redirects. [#26757]
195
196 ## [1.9.1] - 2022-11-02
197 ### Fixed
198 - Fixes crash when using the “Jetpack Mobile Theme” plugin alongside Jetpack 11.5.
199
200 ## [1.9.0] - 2022-09-16
201 ### Added
202 - Cache deletion: add new hook to trigger actions after a successful cache deletion from the admin bar. [#26202]
203
204 ### Fixed
205 - Fixes to URL parsing to prevent cache pollution issues around URLs with double-slashes. [#26247]
206
207 ## [1.8] - 2022-08-16
208 ### Added
209 - PHP 8 Support: Ensure the expected value for the $auto_release in sem_get is used.
210 - Added a link to give feedback on WP Super Cache
211 - Added information on Jetpack Boost
212
213 ### Fixed
214 - Fixed jQuery deprecated notice
215 - Fixed replacing dirname(__FILE__) with __DIR__
216
217 ## 1.7.9 - 2022-06-07
218
219 - Fix nonces used by "Delete Cache" button and remove JS from it on the frontend admin bar.
220 - Define the constant WPSCDISABLEDELETEBUTTON to disable the "Delete Cache" button in the admin bar.
221
222 ## 1.7.8 - 2022-06-07
223
224 * Change the admin bar "Delete Cache" button into an AJAX link #808 #810
225 * Fix link to log file in custom WordPress structure #807
226 * Add an auto updating preload message. #811 #816
227 * Use REQUEST_URI instead of GET to check GET status. #813
228 * Add commonWP and disclaimer to "recommended links" #812
229 * Hide warnings in case files deleted #814
230 * Remove the GET param when removing tracking params #818
231 * Check that post is private to unpublish it and clear cache 2249e58e6f585d936c0993e9d18e6382fa976a66
232 * Check $gc_flag was opened before closing it. #819
233
234 ## 1.7.7 - 2022-02-01
235
236 * Fixes to settings page
237
238 ## 1.7.6 - 2022-01-31
239
240 * Fix for PHP < 7.3
241
242 ## 1.7.5 - 2022-01-31
243
244 * Move the text of the settings pages into separate files. #791
245 * Allow editors to delete all the cache files. #793
246 * Only clear the cache from the current site, not the whole network (admin bar link). #794
247 * Check $cache_path is somewhat sane. #797
248 * realpath returns false if directory not found. #798
249 * Don't reject bots for new installs. They "preload pages" too. #800
250
251 ## 1.7.4 - 2021-07-08
252
253 * Make config file path configurable, props @sebastianpopp #755
254 * Stop a very rare/difficult attack when updating wp-config.php, props @guyasyou for reporting. #780
255 * Add textbox to add tracking parameters to ignore when caching. props @markfinst, @radex02 #777
256 * Add "Rejected Cookies" setting to the advanced settings page. #774
257
258 ## 1.7.3 - 2021-04-28
259
260 * Sanitize the settings that are written to the config file #763
261 * Fix the display of "direct cached" example urls in some circumstance. #766
262
263 ## 1.7.2 - 2021-03-15
264
265 * Fixed authenticated RCE in the settings page. Props @m0ze
266 * Small bug fixes.
267
268 ## 1.7.1 - 2020-01-30
269
270 * Minor fixes to docs. #709 #645
271 * Fixed typo on cache contents page. #719
272 * Fixed array index warning. #724
273 * Updated yellow box links. #725
274
275 ## 1.7.0 - 2020-01-27
276
277 * Added "wpsc_cdn_urls" filter to modify the URLs used to rewrite URLs. #697
278 * Fixed CDN functionality for logged in users. #698
279 * Disable settings that don't work in Expert mode. #699
280 * Don't enable mobile support by default, but it can still be enabled manually. #700
281 * Change "admin bar" to "Toolbar". Props @garrett-eclipse. #701
282 * Show settings enabled by "easy" settings page. #703
283
284 ## 1.6.9 - 2019-07-25
285
286 * Improve the variables and messaging used by advanced-cache.php code. #687
287 * Add a warning message to the debug log viewer. #688
288 * Disable raw viewing of the debug log. #691
289 * Clean up the debug log. #692 #694
290 * Added wpsc_update_check() in 9659af156344a77ae247dc582d52053d95c79b93.
291
292 ## 1.6.8 - 2019-06-27
293
294 * Added new constants, WPSC_SERVE_DISABLED (disable serving of cached files) and WPSC_SUPERCACHE_ONLY (only serve supercache cache files). #682 and #672
295 * Hide get_post() warning on some sites. #684
296 * Check if WPCACHEHOME is set correctly before maybe updating it. #683
297 * Remove object cache support as it never worked properly. #681
298 * Add "logged in users" to the "do not cache for users" setting and rename that setting to "Cache Restrictions" #657
299
300 ## 1.6.7 - 2019-05-30
301
302 * wp_cache_setting() can now save boolean values since many of the settings are bools. #676
303 * Check if $super_cache_enabled is true in a less strict way because it might be '1' rather than true. #677
304
305 ## 1.6.6 - 2019-05-28
306
307 * Fix problems with saving settings. Returns false ONLY when there's an issue with the config file, not when the setting isn't changed. Change other code to cope with that, including updating WPCACHEHOME (#670)
308 * When saving settings rename the temporary config file correctly, and delete wp-admin/.php if it exists. (#673)
309 * Fix adding WPCACHEHOME to wp-config.php when advanced-cache.php is not found and wp-config.php is RO. (#674)
310
311 ## 1.6.5 - 2019-05-27
312
313 * Check advanced-cache.php was created by the plugin before modifying/deleting it. (#666)
314 * When saving settings, save blank lines. Fixes problems with WP_CACHE and WPCACHEHOME in wp-config.php. Related to #652. (#667)
315 * Update outdated code and use is_multisite() (#600)
316 * Fix the delete cache button in the Toolbar. (#603)
317 * Code cleanup in #602
318 * Use get_post_status instead of post_status (#623)
319 * Fixes button - Update Direct Pages (#622)
320 * Removes apache_response_headers and uses only headers_list (#618)
321 * Function is_site_admin has been deprecated (#611)
322 * Fixes action urls in wp_cache_manager (#610)
323 * Remove the link to the HibbsLupusTrust tweet. (#635)
324 * Don't load wp-cache-config.php if it's already loaded (#605)
325 * PHPCS fixes and optimization for plugins/domain-mapping.php (#615)
326 * Introduces PHP_VERSION_ID for faster checking (#604)
327 * Fixes regex and optimizes ossdl-cdn.php (#596)
328 * Only update new settings and use a temporary file to avoid corruption. (#652)
329 * Serve cached files to rejected user agents, don't cache them. (#658)
330 * Combine multiple headers with the same name (#641)
331 * Open ‘Delete Cache’ link in same window (#656)
332 * Promote the Jetpack Site Accelerator on the CDN page. (#636)
333
334 ## 1.6.4 - 2018-08-22
335
336 * Changes between [](https://github.com/Automattic/wp-super-cache/compare/1.6.3...1.6.41.6.3 and 1.6.4](https://github.com/Automattic/wp-super-cache/compare/1.6.3...1.6.4](https://github.com/Automattic/wp-super-cache/compare/1.6.3...1.6.4)
337 * Fixes for WP-CLI (#587) (#592)
338 * Bumped the minimum WordPress version to 3.1 to use functions introduced then. (#591)
339 * Fixes to wpsc_post_transition to avoid a fatal error using get_sample_permalink. (#595)
340 * Fixed the Toolbar "Delete Cache" link. (#589)
341 * Fixed the headings used in the settings page. (#597)
342
343 ## 1.6.3 - 2018-08-10
344
345 * Changes between [](https://github.com/Automattic/wp-super-cache/compare/1.6.2...1.6.31.6.2 and 1.6.3](https://github.com/Automattic/wp-super-cache/compare/1.6.2...1.6.3](https://github.com/Automattic/wp-super-cache/compare/1.6.2...1.6.3)
346 * Added cookie helper functions (#580)
347 * Added plugin helper functions (#574)
348 * Added actions to modify cookie and plugin lists. (#582)
349 * Really disable garbage collection when timeout = 0 (#571)
350 * Added warnings about DISABLE_WP_CRON (#575)
351 * Don't clean expired cache files after preload if garbage collection is disabled (#572)
352 * On preload, if deleting a post don't delete the sub directories if it's the homepage. (#573)
353 * Fix generation of semaphores when using WP CLI (#576)
354 * Fix deleting from the Toolbar (#578)
355 * Avoid a strpos() warning. (#579)
356 * Improve deleting of cache in edit/delete/publish actions (#577)
357 * Fixes to headers code (#496)
358
359 ## 1.6.2 - 2018-06-19
360
361 * Fixed serving expired supercache files (#562)
362 * Write directly to the config file to avoid permission problems with wp-content. (#563)
363 * Correctly set the .htaccess rules on the main site of a multisite. (#557)
364 * Check if set_transient() exists before using it. (#565)
365 * Removed searchengine.php example plugin as it sets a cookie to track users. Still available [](https://github.com/Automattic/wp-super-cache/blob/4cda5c0f2218e40e118232b5bf22d227fb3206b7/plugins/searchengine.phphere](https://github.com/Automattic/wp-super-cache/blob/4cda5c0f2218e40e118232b5bf22d227fb3206b7/plugins/searchengine.php](https://github.com/Automattic/wp-super-cache/blob/4cda5c0f2218e40e118232b5bf22d227fb3206b7/plugins/searchengine.php). (#567)
366 * For advanced users only. Change the vary and cache control headers. See https://github.com/Automattic/wp-super-cache/pull/555 (#555)
367
368 ## 1.6.1 - 2018-05-15
369
370 * Fix the name of the WP Crontrol plugin. (#549)
371 * Handle errors during deactivation/uninstall by email rather than exiting. (#551)
372 * Add a notice when settings can't be updated. (#552 and #553)
373
374 ## 1.6.0 - 2018-04-30
375
376 * Fix issues in multisite plugin (#501)
377 * Fixes wp-cli plugin deactivate/activate (#499)
378 * Cleanup - change quotes. (#495)
379 * $htaccess_path defines the path to the global .htacess file. (#507)
380 * Fix 'cannot redeclare gzip_accepted()' (#511)
381 * Correct the renaming of tmp_wpcache_filename (removed unnecessary slash in path) which caused renaming to fail. (#516)
382 * Add check for Jetpack mobile theme cookie (#515)
383 * Optimize wp_cache_phase2 and create wpsc_register_post_hooks (#508)
384 * WPCACHEHOME has a trailing slash (#513)
385 * Cleanup cache enable/disable and update_mod_rewrite_rules (#500)
386 * Post Update now clears category cache (#519)
387 * Various fixes for saving the debug page form (#542)
388 * Expert-caching and empty parameters, like ?amp, should not serve cached page (#533)
389 * Tiny Yslow description fix (#527)
390 * Add ipad to mobile list (#525)
391 * Hide opcache_invalidate() warnings since it's disabled some places. (#543)
392 * Check that HTTP_REFERER exists before checking it. (#544)
393 * Replace Cron View" with WP Crontrol because it's still updated. (#546)
394 * adding hook (wp_cache_cleared) for full cache purges (#537)
395
396 ## 1.5.9 - 2017-12-15
397
398 * Fixed fatal error if the debug log was deleted while debugging was enabled and a visitor came to the site.
399 * Fixed the dynamic caching test plugin because of PHP7 changes. Dynamic cache mode must be enabled now.
400 * Lots of WordPress coding style formatting fixes to the code.
401 * All changes: https://github.com/Automattic/wp-super-cache/compare/1.5.8...1.5.9
402
403 ## 1.5.8 - 2017-10-31
404
405 * PHP 7 fixes. (#429)
406 * Fix debug comments checkbox. (#433)
407 * Only register uninstall function in admin pages to save queries. (#430)
408 * Check that wp-cache-phase1.php is loaded before saving settings page. (#428)
409 * If a url has a "?" in it then don't delete the associated cache. It'll delete the whole cache after stripping out ?... part. (#427 & #420)
410 * Allow static functions in classes to be used in cacheactions. (#425)
411 * Don't make AJAX requests anonymous. (#423)
412 * Fixed link to chmod explanation. (#421)
413 * Add more escaping to the CDN settings page. (#416)
414 * Use SERVER_PROTOCOL to determine http protocol. (#412 & #413)
415 * If preload stalls only send one email per day, but do display an admin notice. (#432)
416 * Fixed more PHP warnings in #438 and #437
417 * Hide mod_rewrite warnings for Nginx users. #434
418
419 ## 1.5.7.1 - 2017-10-11
420
421 * If the HTTP HOST is empty then don't use it in strpos to avoid a PHP warning. (#408)
422 * Don't preload posts with permalinks that contain rejected strings. (#407)
423 * Generate a list of archive feeds that can be deleted when the site is updated. Also fixes corrupted config file issue and fatal error with older versions of WordPress. (#403)
424
425 ## 1.5.7 - 2017-10-06
426
427 * Fix fatal error in plugins/searchengine.php (#398)
428
429 ## 1.5.6 - 2017-10-04
430
431 * REST API: Added /plugins endpoint to handle the plugins settings page. (#382)
432 * Minor changes to indentaion and spaces to tabs conversion (#371) (#395)
433 * Don't set $wp_super_cache_comments here as it's not saved. (#379)
434 * realpath() only works on directories. The cache_file wasn't set correctly. (#377)
435 * Fix problem deleting cache from Toolbar because of realpath() (#381)
436 * Use trigger_error() instead of echoing to the screen if a config file isn't writeable. (#394)
437 * Added the "wpsc_enable_wp_config_edit" filter to disable editing the wp-config.php (#392)
438 * Fix some PHP notices when comments are edited/published/maintained. (#386)
439 * Minor changes to description on plugins page. (#393)
440
441 ## 1.5.5 - 2017-08-29
442
443 * Catch fatal errors so they're not cached, improve code that catches unknown page types. (#367)
444 * Fix caching on older WP installs, and if the plugin is inactive on a blog, but still caching, give feeds a short TTL to ensure they're fresh. (#366)
445 * When preloading don't delete sub-directories, or child pages, when caching pages. (#363)
446 * Avoid PHP warnings from the REST API for settings that are not yet defined. (#361)
447 * Added missing settings to the config file. (#360)
448
449 ## 1.5.4 - 2017-08-23
450
451 * Fix messages related to creating advanced-cache.php (#355, #354)
452 * Deleting the plugin doesn't need to delete the cache directory as it's already done on deactivation. (#323)
453 * Disable Jetpack mobile detection if Jetpack Beta is detected. (#298)
454 * Add more checks on directories to make sure they exist before deleting them. (#324)
455 * Add siteurl setting to CDN page for users who have WordPress in it's own directory. (#332)
456 * Don't enable and then not save debug comments when toggling logging. (#334)
457 * Show plugin activity html comments to users who disable caching for logged in users. (#335)
458 * Better notifications on Preload page, and redo sql to fetch posts. Added "wpsc_preload_post_types_args" filter on post visibility, and wpsc_preload_post_types filter on post types used. (#336)
459 * Use a cached feed if it is newer than the last time a post was updated. (#337)
460 * Better define a sitemap (#340) but when the content type is unknown add more checks to find out what it is. (#346)
461 * Save cache location correctly on the advanced settings page. (#345)
462 * Make sure the debug log exists before toggling it on/off to ensure the http auth code is added to it.
463 * Return the correct cache type to the REST API. Ignore supercache enabled status. (#352)
464 * Fix cache contents in REST API showing double count of supercache files. (#353)
465 * Move the nonce in the CDN page back into a function. (#346)
466 * Use realpath to compare directories when loading the sample config file to account for symlinked directories. (#342)
467 * Other minor changes to html or typos
468 (Numbers are [](https://github.com/Automattic/wp-super-cache/pullspull requests](https://github.com/Automattic/wp-super-cache/pulls](https://github.com/Automattic/wp-super-cache/pulls) on Github.)
469
470 ## 1.5.3 - 2017-07-26
471
472 * Fix a critical bug that caused unlink to be run on null while deleting the plugin.
473
474 ## 1.5.2 - 2017-07-26
475
476 * Add a trailing slash to home path. Fixes problems with finding the .htaccess file.
477 * Delete WPCACHEHOME and WP_CACHE from wp-config.php when plugin deactivated.
478 * Check that WPCACHEHOME is the right path on each load of the settings page.
479 * Load the REST API code without using WPCACHEHOME.
480 * Fixed mobile browser caching when using WP-Cache caching.
481 * Fixed directory checks on Windows machines.
482 * Reverted CDN changes in 1.5.0 as they caused problems in older "WordPress in a separate directory" installs.
483 * Added note to CDN page when site url != home url. Site owners can use a filter to adjust the URL used.
484 * Stop preload quicker when requested while preloading taxonomies.
485 * Added more information for when updating the .htaccess file fails.
486 * "Served by" header is now optional. Enable it by setting $wpsc_served_header to true in the config file.
487
488 ## 1.5.1 - 2017-07-20
489
490 * Don't use anonymous functions in REST API
491 * Check that REST API Controller is available before loading the REST API.
492 * Don't use multibyte string functions because some sites don't have it enabled.
493
494 ## 1.5.0 - 2017-07-19
495
496 * REST API settings endpoints.
497 * Simplified settings page.
498 * WP-Cache files reorganised.
499 * Caching of more http headers.
500 * Lots of bug fixes.
501
502 ## 1.4.9 - 2017-06-01
503
504 * Fixed bug when not running sem_remove after sem_release. See https://github.com/Automattic/wp-super-cache/issues/85
505 * Fixed a PHP error impacting PHP 7.1.
506 * Fixed a bug where we cached PUT and DELETE requests. We're treating them like POST requests now.
507 * Delete supercache cache files, even when supercache is disabled, because mod_rewrite rules might still be active.
508 * Updated the settings page, moving things around. [](https://github.com/Automattic/wp-super-cache/pull/173#173](https://github.com/Automattic/wp-super-cache/pull/173](https://github.com/Automattic/wp-super-cache/pull/173)
509 * Make file locking less attractive on the settings page and fixed the WPSC_DISABLE_LOCKING constant so it really disables file locking even if the user has enabled it already.
510 * Added a WPSC_REMOVE_SEMAPHORE constant that must be defined if sem_remove() is to be used as it may cause problems. [](https://github.com/Automattic/wp-super-cache/pull/174#174](https://github.com/Automattic/wp-super-cache/pull/174](https://github.com/Automattic/wp-super-cache/pull/174)
511 * Added a "wpsc_delete_related_pages_on_edit" filter that on returning 0 will disable deletion of pages outside of page being edited. [](https://github.com/Automattic/wp-super-cache/pull/175#175](https://github.com/Automattic/wp-super-cache/pull/175](https://github.com/Automattic/wp-super-cache/pull/175)
512 * Fixed plugin deleting all cached pages when a site had a static homepage. [](https://github.com/Automattic/wp-super-cache/pull/175#175](https://github.com/Automattic/wp-super-cache/pull/175](https://github.com/Automattic/wp-super-cache/pull/175)
513 * Make sure $cache_path has a trailing slash [](https://github.com/Automattic/wp-super-cache/pull/77#177](https://github.com/Automattic/wp-super-cache/pull/77](https://github.com/Automattic/wp-super-cache/pull/77)
514 * Remove flush() [](https://github.com/Automattic/wp-super-cache/pull/127#127](https://github.com/Automattic/wp-super-cache/pull/127](https://github.com/Automattic/wp-super-cache/pull/127) but also check if headers are empty and flush and get headers again. [](https://github.com/Automattic/wp-super-cache/pull/179#179](https://github.com/Automattic/wp-super-cache/pull/179](https://github.com/Automattic/wp-super-cache/pull/179)
515 * Add fix for customizer [](https://github.com/Automattic/wp-super-cache/pull/161#161](https://github.com/Automattic/wp-super-cache/pull/161](https://github.com/Automattic/wp-super-cache/pull/161) and don't cache PUT AND DELETE requests [](https://github.com/Automattic/wp-super-cache/pull/178#178](https://github.com/Automattic/wp-super-cache/pull/178](https://github.com/Automattic/wp-super-cache/pull/178)
516 * Check for superglobals before using them. [](https://github.com/Automattic/wp-super-cache/pull/131#131](https://github.com/Automattic/wp-super-cache/pull/131](https://github.com/Automattic/wp-super-cache/pull/131)
517
518 ## 1.4.8 - 2017-01-11
519
520 * Removed malware URL in a code comment. (harmless to operation of plugin but gets flagged by A/V software)
521 * Updated translation file.
522
523 ## 1.4.7 - 2016-12-09
524
525 * Update the settings page for WordPress 4.4. layout changes.
526
527 ## 1.4.6 - 2015-10-09
528
529 * Generate the file cache/.htaccess even when one exists so gzip rules are created and gzipped pages are served correctly. Props Tigertech. https://wordpress.org/support/topic/all-website-pages-downloading-gz-file-after-latest-update?replies=36#post-7494087
530
531 ## 1.4.5 - 2015-09-25
532
533 * Enhancement: Only preload public post types. Props webaware.
534 * Added an uninstall function that deletes the config file. Deactivate function doesn't delete it any more.
535 * Possible to deactivate the plugin without visiting the settings page now.
536 * Fixed the cache rebuild system. Rebuild files now survive longer than the request that generate them.
537 * Minor optimisations: prune_super_cache() exits immediately if the file doesn't exist. The output of wp_cache_get_cookies_values() is now cached.
538 * Added PHP pid to the debug log to aid debugging.
539 * Various small bug fixes.
540 * Fixed reset of expiry time and GC settings when updating advanced settings.
541 * Removed CacheMeta class to avoid APC errors. It's not used any more.
542 * Fixed reset of advanced settings when using "easy" settings page.
543 * Fixed XSS in settings page.
544 * Hide cache files when servers display directory indexes.
545 * Prevent PHP object injection through use of serialize().
546
547 ## 1.4.4 - 2015-05-15
548
549 * Fixed fatal error in output handler if GET parameters present in query. Props webaware.
550 * Fixed debug log. It wasn't logging the right message.
551
552 ## 1.4.3 - 2015-04-03
553
554 * Security release fixing an XSS bug in the settings page. Props Marc Montpas from Sucuri.
555 * Added wp_debug_log(). Props Jen Heilemann.
556 * Minor fixes.
557
558 ## 1.4.2 - 2014-12-18
559
560 * Fixed "acceptable file list".
561 * Fixed "Don't cache GET requests" feature.
562 * Maybe fixed "304 not modified" problem for some users.
563 * Fixed some PHP warnings.
564
565 ## 1.4.1 - 2014-08-07
566
567 * Fixed XSS in settings page. Props Simon Waters, Surevine Limited.
568 * Fix to object cache so entries may now be deleted when posts updated. (object cache still experimental)
569 * Documentation updates and cleanup of settings page.
570
571 ## 1.4 - 2014-04-17
572
573 * Replace legacy mfunc/mnclude/dynamic-cached-content functionality with a "wpsc_cachedata" cacheaction filter.
574 * Added dynamic-cache-test.php plugin example wpsc_cachedata filter plugin.
575 * Delete post, tag and category cache when a post changes from draft to publish or vice versa. Props @Biranit.
576 * Update advanced-cache.php and wp-config.php if wp-cache-phase1.php doesn't load, usually happening after migrating to a new hosting service.
577 * Misc bugfixes.
578
579 ## 1.3.2 - 2013-08-19
580
581 * Any mfunc/mclude/dynamic-cached-content tags in comments are now removed.
582 * Dynamic cached content feature disabled by default and must be enabled on the Advanced Settings page.
583 * Support for the mobile theme in Jetpack via helper plugin on script's Plugins tab.
584
585 ## 1.3.1 - 2013-04-12
586
587 * Minor updates to documentation
588 * Fixed XSS in settings page.
589
590 ## 1.3 - 2013-04-11
591
592 * mfunc tags could be executed in comments. Fixed.
593 * More support for sites that use the LOGGED_IN_COOKIE constant and custom cookies.
594
595 ## 1.2 - 2012-12-13
596
597 * Garbage collection of old cache files is significantly improved. I added a scheduled job that keeps an eye on things and restarts the job if necessary. Also, if you enable caching from the Easy page garbage collection will be enabled too.
598 * Editors can delete single cached files from the Toolbar now.
599 * Fixed the cached page counter on the settings page.
600 * Some sites that updated to 1.0 experienced too much garbage collection. There are still stragglers out there who haven't upgraded but that's fixed now!
601 * Supercached mobile files are now used as there was a tiny little typo that needed fixing.
602 * If your site is in a directory and you saw problems updating a page then that should be fixed now.
603 * The deactivate hook has been changed so your configuration isn.t hosed when you upgrade. Unfortunately this will only happen after you do this upgrade.
604 * Some sites use custom cookies with the LOGGED_IN_COOKIE constant. Added support for that.
605 * Added support for WPTouch Pro, but it appears to be flaky still. Anyone have time to work on that? I don.t.
606 * Some sites had problems with scheduled posts. For some reason the plugin thought the post was in draft mode and then because it only checked the same post once, when the post magically became published the cache wasn.t cleared. That.s fixed, thanks to the debug logging of several patient users.
607 * And more bug fixes and translation updates.
608
609 ## 1.1 - 2012-06-13
610
611 * Use $_SERVER[ 'SERVER_NAME' ] to create cache directories.
612 * Only create blogs cached directories if valid requests and blogs exist.
613 * Only clear current blog's cache files if navigation menu is modified
614 * Added clean_post_cache action to clear cache on post actions
615 * Removed garbage collection details on Contents tab
616 * Added wp_cache_check_mobile cacheaction filter to shortcircuit mobile device check.
617 * Don't delete cache files for draft posts
618 * Added action on wp_trash_post to clear the cache when trashed posts are deleted
619 * Show a warning when 304 browser caching is disabled (because mod_rewrite caching is on)
620 * New check for safe mode if using less that PHP 5.3.0
621 * Added wp_supercache_remove_cookies filter to disable anonymous browsing mode.
622 * Fixed garbage collection schedule dropdown
623 * Fixed preload problem clearing site's cache on "page on front" sites.
624 * Fix for PHP variable not defined warnings
625 * Fixed problem refreshing cache when comments made as siteurl() sometimes didn't work
626 * Preloading of taxonomies is now optional
627 * Domain mapping fixes.
628 * Better support for https sites. Remove https:// to get cache paths.
629 * Added AddDefaultCharset .htaccess rule back in and added an option to remove it if required.
630 * Added multisite plugin that adds a "Cached" column to Network->Sites to disable caching on a per site basis.
631 * Added WPTouch plugin to modify browser and prefix list in mobile detection code. Added support for that plugin's exclude list.
632 * Fixed cache tester
633 * Filter the tags that are used to detect end-of-page using the wp_cache_eof_tags filter.
634 * Removed debug level from logging as it wasn't helpful.
635 * Removed mention of wp-minify.
636
637 ## 1.0 - 2012-01-30
638
639 * Removed AddDefaultCharset .htaccess rule
640 * Fixed problem with blogs in a folder and don't have a trailing slash
641 * New scheduling of garbage collection
642 * Added a "Delete cache" link to Toolbar to delete cache of current page.
643 * Updated documentation
644 * Sorry Digg, Stephen Fry power now!
645 * Updated translations
646 * Preload taxonomies and all post types except revisionsand nav menu items
647 * Fixed previews by logged in users.
648 * Added option to make logged in users anonymous
649 * Use WP 3.0 variables to detect multisite installs
650 * Hash filenames so files are served from the same CDNs
651
652 ## 0.9.9.9 - 2011-07-12
653
654 * Fixed typo, is_front_page.
655 * Serve repeated static files from the same CDN hostname.
656 * Updated translations.
657 * Make supercache dir lowercase to avoid problems with unicode URLs.
658 * Add option to skip https loaded static content.
659 * Remove 5 second check on age of existing cache files. Should help with posts that get lots of comments and traffic.
660 * Lots of bugs fixed.
661
662 ## 0.9.9.8 - 2011-01-07
663
664 * CDN updates: can be switched off, multiple CNAMEs.
665 * Uninstall process improved. It removes generated files and fixes edited files.
666 * Cached dynamic pages can now be stored in Supercache files and compressed.
667 * 1and1 Webhosting fix (/kunden/)
668 * Remove log by email functionality as it caused problems for users who were inundated by email
669 * Many more minor fixes and changes.
670
671 ## 0.9.9.6 - 2010-09-29
672
673 * Fixed problem serving cached files with PHP
674 * Added support for 304 "file not modified" header to help browser caching. (PHP caching only)
675 * Added French & German translations, updated Italian translation and fixed translation strings.
676 * Sleep 4 seconds between preload urls to reduce load on the server
677 * Updated docs and FAQs.
678
679 ## 0.9.9.5 - 2010-09-24
680
681 * Disable compression on on easy setup page. Still causes problems on some hosts.
682 * Remove footerlink on easy setup page.
683 * Don't delete mod_rewrite rules when caching is disabled.
684 * Don't stop users using settings page when in safe mode.
685
686 ## 0.9.9.4 - 2010-09-22
687
688 * Settings page split into tabbed pages.
689 * Added new "Easy" settings page for new users.
690 * New PHP caching mode to serve supercached files.
691 * Mobile support fixes.
692 * Added Domain mapping support plugin.
693 * Added "awaiting moderation" plugin that removes that text from posts.
694 * Terminology change. Changed "half on" to "legacy caching".
695 * Fixed cache tester on some installs of WordPress.
696 * Updated documentation
697 * Added $wp_super_cache_lock_down config variable to hide lockdown and directly cached pages admin items.
698 * Preloaded checks if it has stalled and reschedules the job to continue.
699 * Serve the gzipped page when first cached if the client supports compression.
700 * Lots more bug fixes..
701
702 ## 0.9.9.3 - 2010-06-16
703
704 * Fixed division by zero error in half on mode.
705 * Always show "delete cache" button.
706 * Fixed "Update mod_rewrite rules" button.
707 * Minor text changes to admin page.
708
709 ## 0.9.9.2 - 2010-06-15
710
711 * Forgot to change version number in wp-cache.php
712
713 ## 0.9.9.1 - 2010-06-15
714
715 * Added preloading of static cache.
716 * Better mobile plugin support
717 * .htaccess rules can be updated now. Added wpsc_update_htaccess().
718 * Fixed "page on front" cache clearing bug.
719 * Check for wordpress_logged_in cookie so test cookie isn't detected.
720 * Added clear_post_supercache() to clear supercache for a single post.
721 * Put quotes around rewrite rules in case paths have spaces.
722
723 ## 0.9.9 - 2010-02-08
724
725 * Added experimental object cache support.
726 * Added Chinese(Traditional) translation by Pseric.
727 * Added FAQ on WP-Cache vs Supercache files.
728 * Use Supercache file if WP-Cache file not found. Useful if mod_rewrite rules are broken or not working.
729 * Get mobile browser list from WP Mobile Edition if found. Warn user if .htaccess out of date.
730 * Make sure writer lock is unlocked after writing cache files.
731 * Added link to developer docs in readme.
732 * Added Ukranian translation by Vitaly Mylo.
733 * Added Upgrade Notice section to readme.
734 * Warn if zlib compression in PHP is enabled.
735 * Added compression troubleshooting answer. Props Vladimir (http://blog.sjinks.pro/)
736 * Added Japanese translation by Tai (http://tekapo.com/)
737 * Updated Italian translation.
738 * Link to WP Mobile Edition from admin page for mobile support.
739
740 ## 0.9.8 - 2009-11-18
741
742 * Added Spanish translation by Omi.
743 * Added Italian translation by Gianni Diurno.
744 * Addded advanced debug code to check front page for category problem. Enable by setting $wp_super_cache_advanced_debug to 1 in the config file.
745 * Fixed wordpress vs wordpress_logged_in cookie mismatch in cookie checking function.
746 * Correctly check if WP_CACHE is set or not. PHP is weird.
747 * Added wp_cache_clear_cache() to clear out cache directory.
748 * Only show logged in message when debugging enabled.
749 * Added troubleshooting point 20. PHP vs Apache user.
750 * Fixed problem deleting cache file.
751 * Don't delete cache files when moderated comments are deleted.
752
753 ## 0.9.7 - 2009-10-02
754
755 * Fixed problem with blogs in folders.
756 * Added cache file listing and delete links to admin page.
757 * Added "Newest Cached Pages" listing in sidebox.
758 * Made admin page translatable.
759 * Added "How do I make certain parts of the page stay dynamic?" to FAQ.
760 * Advanced: added "late init" feature so that plugin activates on "init". Set $wp_super_cache_late_init to true in config file to use.
761 * Disable supercaching when GET parameters present instead of disabling all caching. Disable on POST (as normal) and preview.
762 * Fixed problem with cron job and mutex filename.
763 * Warn users they must enable mobile device support if rewrite rules detected. Better detection of when to warn that .htaccess rules must be updated (no need when rewrite rules not present)
764 * Advanced: Added "wpsupercache_404" filter. Return true to cache 404 error pages.
765 * Use the wordpress_test_cookie in the cache key.
766 * Show correct number of cache files when compression off.
767 * Fixed problem with PHP safe_mode detection.
768 * Various bugfixes and documentation updates. See Changelog.txt
769
770 ## 0.9.6.1 - 2009-07-29
771
772 * Move "not logged in" message init below check for POST.
773 * Add is_admin() check so plugin definitely can't cache the backend.
774 * Add "do not cache" page type to admin page.
775
776 ## 0.9.6 - 2009-07-27
777
778 * Add uninstall.php uninstall script.
779 * Updated cache/.htaccess rules (option to upgrade that)
780 * Added FAQ about category and static homepage problem.
781 * Add wp_cache_user_agent_is_rejected() back to wp-cache-phase2.php
782 * Show message for logged in users when caching disable for them.
783 * Check filemtime on correct supercache file
784
785 ## 0.9.5 - 2009-07-17
786
787 * Show next and last GC times in minutes, not local time.
788 * Don't serve wp_cache cache files to rejected user agents. Supercache files are still served to them.
789 * If enabled, mobile support now serves php cached files to mobile clients and static cached files to everyone else.
790 * Added checks for "WPSC_DISABLE_COMPRESSION" and "WPSC_DISABLE_LOCKING" constants to disable compression and file locking. For hosting companies primarily.
791 * Added check for DONOTCACHEPAGE constant to avoid caching a page.
792 * Use PHP_DOCUMENT_ROOT when creating .htaccess if necessary.
793
794 ## 0.9.4.3 - 2009-04-25
795
796 1. Added "Don't cache for logged in users" option.
797 2. Display file size stats on admin page.
798 3. Clear the cache when profile page is updated.
799 4. Don't cache post previews.
800 5. Added backslashes to rejected URI regex list.
801 6. Fixed problems with posts and comments not refreshing.
802
803 Misc fixes
804
805 [3.0.0]: https://github.com/Automattic/wp-super-cache/compare/v2.0.1...v3.0.0
806 [2.0.1]: https://github.com/Automattic/wp-super-cache/compare/v2.0.0...v2.0.1
807 [2.0.0]: https://github.com/Automattic/wp-super-cache/compare/v1.12.4...v2.0.0
808 [1.12.4]: https://github.com/Automattic/wp-super-cache/compare/v1.12.3...v1.12.4
809 [1.12.3]: https://github.com/Automattic/wp-super-cache/compare/v1.12.2...v1.12.3
810 [1.12.2]: https://github.com/Automattic/wp-super-cache/compare/v1.12.1...v1.12.2
811 [1.12.1]: https://github.com/Automattic/wp-super-cache/compare/v1.12.0...v1.12.1
812 [1.12.0]: https://github.com/Automattic/wp-super-cache/compare/v1.11.0...v1.12.0
813 [1.11.0]: https://github.com/Automattic/wp-super-cache/compare/v1.10.0...v1.11.0
814 [1.10.0]: https://github.com/Automattic/wp-super-cache/compare/v1.9.4...v1.10.0
815 [1.9.4]: https://github.com/Automattic/wp-super-cache/compare/v1.9.3...v1.9.4
816 [1.9.3]: https://github.com/Automattic/wp-super-cache/compare/v1.9.2...v1.9.3
817 [1.9.2]: https://github.com/Automattic/wp-super-cache/compare/v1.9.1...v1.9.2
818 [1.9.1]: https://github.com/Automattic/wp-super-cache/compare/v1.9.0...v1.9.1
819 [1.9.0]: https://github.com/Automattic/wp-super-cache/compare/v1.8...v1.9
820 [1.8]: https://github.com/Automattic/wp-super-cache/compare/v1.7.9...v1.8
821